wahsaga: LIMIT $x spuckt eine fehlermeldung aus!

Beitrag lesen

hi,

$del_comments = mysql_query(" DELETE  FROM test
      WHERE test.uid = '" . $pic_uid . "'
             LIMIT '" . $noc[0] . "'
") or die(mysql_error());

3You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ''3'' at line 3

gibt es einen besonderen grund, warum du eine zahl wie einen string notierst?

gruß,
wahsaga

--
"Look, that's why there's rules, understand? So that you _think_ before you break 'em."