When i will search in Download i become a MySQL Fehler..
PHP Code:
Invalid SQL:
SELECT dl_files.*, dl_cats.name catname FROM dl_files, dl_cats WHERE ( OR dl_files.author LIKE '%test%' OR dl_files.name LIKE '%test%' OR dl_files.description LIKE '%test%')
AND dl_files.category = dl_cats.id
ORDER BY catname, dl_files.name;
MySQL-Fehler : 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 'OR dl_files.author LIKE '%test%' OR dl_files.name LIKE '%test%' OR dl_files.desc' at line 1
Fehler-Nr. : 1064
Fehler-Zeit : Saturday, 14.02.2009 @ 23:35:26
Datum : Saturday, 14.02.2009 @ 23:35:26
Skript : http://xxxxxx/downloads.php?do=search
Referrer : http://xxxxxx/downloads.php?do=search