I'm new to mysql but can't get why the following code does not work? Please advise if I need to include more code for disection.
$usertable = "suggestion";
$sql= "INSERT INTO $usertable
VALUES ($name, $location, $phone, $support_improve, $suggestion, $benefit)";
mysql_query($sql) or die("query didn't work try again!"
Regards,
Tread42
$usertable = "suggestion";
$sql= "INSERT INTO $usertable
VALUES ($name, $location, $phone, $support_improve, $suggestion, $benefit)";
mysql_query($sql) or die("query didn't work try again!"
Regards,
Tread42