Let just say I have table in my mysql db called Film. It has a film_id which is id column and special_features column which is of type SET. Never used SET type before. Special_features column is of type set('Trailers', 'Commentaries', 'behind'),
I want to enter this row in the table:
SET("trailers", "commentaires", "behind the scenes");
How should my basic sql command look like in php? I am using MySQLi and I want basic sql string.
$sql = "INSERT INTO (special_features) VALUES (('trailers', 'commentaires', 'behind the scenes'))";
how would my sql string look like if I want only trailers and commentaries inserted?
This is just example, not sure if it is correct?