wiso funtzt das nicht?
wiso kann man nicht 2 mal AND benutzen?
fehler:
Error: False query == SELECT * FROM cc1_crand WHERE x='143' AND y='10 AND used='0'
SQL-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 '0'' at line 1
mfg
PHP-Code:
$result2=$db->query("SELECT * FROM cc".$n."_crand WHERE x='$row[x]' AND y='$row[y] AND used='0'");
fehler:
Error: False query == SELECT * FROM cc1_crand WHERE x='143' AND y='10 AND used='0'
SQL-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 '0'' at line 1
mfg
Kommentar