error mysql
Geplaatst: 31 aug 2005, 15:59
ik krijg een error met deze code...
dit is de error:
weet iemand wat hier fout staat 
Code: Selecteer alles
$sql = "INSERT INTO " . bot_TABLE . " (datum, url, botnaam) VALUES ($today, $url, $ip)";
Code: Selecteer alles
Couldn't insert new smiley
DEBUG MODE
SQL Error : 1064 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 '31 2005 4:56 pm, http://test.wb-s.nl/viewtopic.php?p=297, *********)' at line 1
INSERT INTO phpbb_zoekbot (datum, url, botnaam) VALUES (August 31 2005 4:56 pm, http://test.wb-s.nl/viewtopic.php?p=297, *********)
Line : 14
File : bot.php