i have the following code:
$update = mysql_query("UPDATE member_regok SET newmemberid = '.$last_id.', status = 1 WHERE email = '".$email."'");
This code returns “syntax error after “@email.com” “. I can return all these $var with echo and I get the result but running this query doe not work. Is there a problem with validating with $email?
You can try: