Ich möchte per PHP diese Abfrage ausführen lassen:
$db->unbuffered_query("DELETE FROM bb".$n."_modlog WHERE id=$id LIMIT 1");
Aber wenn ich sie ausführe, kommt immer die folgende Fehlermeldung:
SQL-DATABASE ERROR
Database error in WoltLab Burning Board (2.3.6pl2): Invalid SQL: DELETE FROM bb55_modlog WHERE id= LIMIT 1
mysql error: 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 'LIMIT 1' at line 1
mysql error number: 1064
mysql version: 4.1.13
php version: 5.0.4
Date: 24.03.2007 @ 21:46
Script: /acp/modlog.php?action=dellog&sid=&id=1
Referer: http://www.***.de/acp/modlog.php?sid=&co...uitemgroupid=17