Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~4K People Reached
Favorite Forums
Favorite Tags
Member Avatar for woofy613

I am getting the following error: Parse error: syntax error, unexpected T_STRING The code snippet: [CODE]$db = "hospital"; $cxn = mysqli_connect($host,$user,$password,$db); $sql1 = INSERT INTO intake2(site, Record, BMI, Weight) VALUES($_POST[\"site\"], $_POST[\"Record\"], $_POST[\"BMI\"], $_POST[\"Weight\"]); [TEX]// this is the line that generates the error[/TEX] $qyr = mysqli_query($cxn,$sql1);[/CODE] I realize that the error …

Member Avatar for woofy613
0
3K
Member Avatar for feoperro

Hi, How do you text-wrap something like this: [CODE] <table width="10%"> <tr> <td>IWANTTHISLINETOBEBROKENWHENITREACHESTHEENDOFTHECOLUMN</td> </tr> </table> [/CODE] Thanks, Ashton.

Member Avatar for feoperro
0
128
Member Avatar for michael_r

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...

Member Avatar for Graphix
0
84
Member Avatar for michael_r

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 …

Member Avatar for urtrivedi
0
82
Member Avatar for michael_r

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 }?> …

Member Avatar for diafol
0
158
Member Avatar for michael_r

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 …

Member Avatar for michael_r
0
153