Hi Guys,
I'm trying to write a little script that adds inserted data into my MySQL database, but i'm having trouble with the syntax of the insert into code.
I have a few variables, which are sent to this script from a form, but when i try to run the script it get an unexpected T_variable.
Any ideas?? Here is my code.
$sql = 'INSERT INTO `shows` (`id`, `unixtime`, `showday`, `showstart`, `showend`, `showtitle`, `showpresenter`, `presenterprofile`, `presenterpicture`) VALUES (NULL, \'0000-00-00\', '$day', '$start', '$end', '$title', '$presenter', '$profile', '$picture');';
Thanks for your help
Davey