I get the following MySQL error:
You have an error in the SQL syntax; check the manual that matches your version of MySQL server for the correct syntax to use next to 'SET type =' movie ', SET category =' New ', SET music =' Pop ', SET' on line 1
Here is my request:
UPDATE music_content SET title = 'Classic', SET type = 'movie', SET category = 'New', SET music = 'Pop', SET audience = 'Everyone' WHERE id = '6'
Not sure what I am doing wrong? - all columns and tables exist and all data is escaped (using mysql_real_escape_string ()). In addition, I have a live / connected MySQL connection.
MySQL Version: 5.1.41.
source share