Here's my latest script. It is a member reg-login script.
I get error:
PHP Parse error: syntax error, unexpected '"', expecting '-' or identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in /home/sn/public_html/sn/home.php on line 168
On many lines, I changed from:
$query = "SELECT * FROM users WHERE Username = '".$user."'";
$query = "SELECT * FROM users WHERE Username = '$user';
but no luck in getting rid of the error. You will see line 168 doesn't have any ".
I use notepad++. Error mssg seems irrelevant.
And so, looking at the error and my script, what do you think the problem is ? Best to c
heck my code on your wamp/xampp to really understand the problem.
PPS - Script in next post.