0

Below is my code I have check many times to ensure that is no error but the chrome keep give me an error:

Fatal error: Uncaught exception 'mysqli_sql_exception' with message 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '@gmail.com, Account_Title=Mr, Account_Dob=2018-08-09, Account_Phone1=123, Accoun' at line 1' in C:\wamp64\www\TAO\UserProfileupdate.php on line 15

May I know what is this mean by ?

$sql = "UPDATE account_info 
  SET Account_Email=$email, Account_Title=$title, Account_Dob=$dob,
      Account_Phone1=$phoneno, Account_Phone2=$sphoneno,
      Account_Home_No=$homeno, Account_Office_No=$officeno";
The Impaler
  • 38,638
  • 7
  • 30
  • 65
game symbol
  • 105
  • 2
  • 10

0 Answers0