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
~3K People Reached
Favorite Forums
Favorite Tags
php x 4
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