24-05-2008, 04:14 PM
je suis vraiment pas douer lol
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 'FROM rpg_users' at line 1
avec ce truc la
$query = sprintf("SELECT *,IF((NOW() - fingarde) <= 0, 'Fini', (NOW() - fingarde)) AS 'tour',FROM {{table}} Where id=%d;", $userrow["id"]);
$sql = doquery($query, 'users');
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 'FROM rpg_users' at line 1
avec ce truc la
$query = sprintf("SELECT *,IF((NOW() - fingarde) <= 0, 'Fini', (NOW() - fingarde)) AS 'tour',FROM {{table}} Where id=%d;", $userrow["id"]);
$sql = doquery($query, 'users');
prochaine etape de la creation :
reussir de creer la MAP
reussir de creer la MAP