No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
6 Posted Topics
Re: Try this: [CODE] $sql1 = "INSERT INTO intake2(site, Record, BMI, Weight) VALUES('$_POST[site]', '$_POST[Record]','$_POST[BMI]','$_POST[Weight]')"; [/CODE] | |
![]() | Re: use WORD-BREAK:BREAK-ALL; It's working in IE but not in firefox. ![]() |
hi... i am new to ajax and i would like to know the syntax for sending multiple values using post method in ajax. i have tried this code but it doesn't work.. var data = 3; var age = 27; XMLHttpRequestObject.send("data=" + data,"age=" + age); thanks in advance... | |
hi i have got a form which looks like this: [CODE]<form action="<?php echo $_SERVER['php_self];?>" method="post"> <input type="checkbox" name="flight[]" value="kingfisher" /> <input type="checkbox" name="flight[]" value="Spicejet" /> <input type="checkbox" name="flight[]" value="AirIndia" /> </form> [/CODE] i need to generate a query which would select data based on the result of this form. for … | |
hi i have got a simple table in my database like this: [B]from[/B]|[B]to[/B] bangalore | delhi chennai | mumbai i am using two drop down list to display this data. here is my code: [CODE]<select name="From"> <?php while($row = mysql_fetch_row($result)) { ?> <option value="<?php echo $row[0];?>"><?php echo $row[0];?></option> <?php }?> … ![]() | |
hi every one this is my first post in any forum i have got an error while inserting a row to mysql this is my code: $query = "INSERT INTO flight(date,from,to,depart_time_hr,depart_time_min,arr_time_hr,arr_time_min) VALUES('$_POST[date]','$_POST[from2]','$_POST[to2]','$_POST[hours1]','$_POST[minutes1]','$_POST[hours2]','$_POST[minutes2]')"; the error shown is: 1064 You have an error in your SQL syntax; check the manual that corresponds … |
The End.