I'm not sure why this code isn't working.
I get this error:
I'm not sure if I've looked at one too many semicolons or if I'm messing up some syntax, but can someone help?
Code:
$data="('$_POST[username]', '$_POST[PASSWORD]', '$_POST[handle]', '$_POST[rank]', '$_POST[group]', '$_POST[gender]', '$_POST[av]')"
$result3 = mysql_query("INSERT INTO users $data")
or die(mysql_error());
echo "Account successfully updated. Click [<a href='editor.cgi'>here</a>] to go back.";
I get this error:
Parse error: parse error, unexpected T_VARIABLE in /home/pollock7/public_html/new/editor.php on line 73
I'm not sure if I've looked at one too many semicolons or if I'm messing up some syntax, but can someone help?