Jump to content

[SOLVED] Why does this code keep giving me errors


bev

Recommended Posts

Error I receive is Parse error: syntax error, unexpected T_VARIABLE in /home/crazy/public_html/registration.php on line 19

 

LINE 18$variable = $_POST['variable']

LINE 19$sql="insert into orders(sitemembership,clientmembership,sellitemsmembership,auctionitemsmembership,shoppingcrt3months,shoppingcart6months,shoppingcrt1year)

LINE20value('[sitemembership]','$_POST[clientmembership]','$_POST[sellitemsmembership]','$_POST[auctionitemsmembership]','$_POST[shoppingcrt3months]',

LINE 21'$_POST[shoppingcrt6months]','$_POST[shoppingcrt1year]','$_POST[companyname]')','";

LINE 22$result= mysql_query($sql);

 

I just do not see the error I guess

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.