Could not enter data You have an error in your SQL syntax; check the manual?
I Dont know why it'll give me this error when i do (When).i cant realize
where is my error.could you help me out with this?
$sql = "INSERT INTO addevent ( Title, Category, Further_Spec,`When`,
Venue, wAddress, wCity, wZipcode, Name, Address, City, Zipcode, Mobile,
Landline, Email, Fax, Website, image)".
"VALUES
('$_POST[title]','$_POST[category]','$_POST[description]','$_POST[reservation]','$_POST[venue]','$_POST[waddress]','$_POST[wcity]','$_POST[wzipcode]','$_POST[name]','$_POST[address]','$_POST[city]','$_POST[zipcode]','$_POST[mobile]','$_POST[landline]','$_POST[email]','$_POST[fax]','$_POST[website]','$image')";
And non of the above are Reserved Keyword rather than When so i dont know
what should i do...
No comments:
Post a Comment