I can’t find the error in this query:
INSERT INTO realestate (
type, offer, seller, area, build_area, price, is_negotiable, fur, floor_num, rooms, baths, year_built, phone, title, describe
) VALUES (
'2', '1', '1', '98', '99887', '3242839', 'true', 'true', '1', '1', '1', '2010', '97854984576', 'lksehjfsed', 'alidjaopdhkljhdfkedfhwekdfhwseldfk' )
This is the error message that I get:
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 'describe ) VALUES ( '2', '1', '1', '98', '99887', '324' at line 2
DESCRIBEis a MySQL reserved keyword. You need to enclose it in backquotes if you use it as a column or table name:(columns removed from list for readability)…