Hey guys im getting this error on a line of code and no idea why its throwing it?
The error quotes line 101 which is the line after " $message = "HELLO: $_POST[newuser] ! "which is blank.
$sql = "INSERT INTO users SET
username = '$_POST[newuser]',
password = '$_POST[newpass]',
email = '$_POST[newemail]',
if (!mysql_query($sql))
error('A database error occurred in processing your '.
'submission.\\nIf this error persists, please '.
'contact you@example.com.\\n' . mysql_error());
// Email the new password to the person.
$message = "HELLO: $_POST[newuser] !
Your personal account for the Project Web Site
has been created! To log in, proceed to the
following address:
http://www.example.com/
Your personal login ID and password are as
follows:
userid: $_POST[newuser]
password: $_POST[newpass]
You aren't stuck with this password! Your can
change it at any time after you have logged in.
If you have any problems, feel free to contact me at
<webmaster@recipeshare.com>.
-Nikhil Cumlajee
Your Site Webmaster
";
hope someone can help thanks guys