I keep getting this error:
PHP Error Message
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/a6941725/public_html/php/usersystem/signup.php on line 4
Here is the code:
if (mysql_query("SELECT * FROM Main WHERE username LIKE $_POST['username']"); !== "$_POST['username']") {
$username = $_POST['username'];
}
I am normally good at php but I can't figure out why it is not working!