this is my code so far…
// Connecting, selecting database
include (“db_connect.inc”)
// add the new information into the database
$query=”INSERT INTO Users_Registered(fname,lname,pw,company,phone,email,addr1,addr2,city,state,zip) VALUES(‘$_POST[fname]’,’$_POST[pw]’,’$_POST[phone]’,’$_POST[addr1]’,’$_POST[city]’,’$
if(!mysql_db_query($dbname,$query,$link_id)) die(mysql_error());
echo “success in database entry.”;
echo “<br />”;
echo “<a href=”login.php”>Click here to return to the form page.</a>”;
//header (“Location:
?>
but i get this error
Parse error: parse error, unexpected T_VARIABLE in /home/decisusn/public_html/Web2/processregistration.php on line 7 π‘
line 7 is the $query line