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());
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.