0

i cant find the syntax error in this query. it look fine to me.

error:

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 'like, dislike, num_replys, num_view, date) VALUES('1', '2', '3','4','5','' at line 3







$sql = mysql_query("INSERT INTO report 
                (user_id, report_type, name, address, city, state, country, 
                zipcode, phone, email, story, category, like, dislike, num_replys, num_view, date)
                        VALUES('1', '2', '3','4','5','6', '7','8','9', '10', '11', '12', '13','14',
                        '15', '16', now())")
                                or die(mysql_error());

Edited by hwoarang69

2
Contributors
1
Reply
3
Views
4 Years
Discussion Span
Last Post by diafol
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.