Findet hier jemand einen fehler?
Der Fehler soll sein
You have an error in your SQL syntax near 'AS at LEFT JOIN (SELECT user_id,
user_************ FROM user_db) AS ut ON ut.user_id='6' at line 3
UPDATE ".ADDON_TABLE." AS at
LEFT JOIN
(SELECT user_id, user_************ FROM ".USER_TABLE.") AS ut ON ut.user_id='$i'
SET
at.user_groesse='$c'
WHERE at.a_user_id='$i' AND ut.user_************='2'") or die(mysql_error());
Der Fehler soll sein
You have an error in your SQL syntax near 'AS at LEFT JOIN (SELECT user_id,
user_************ FROM user_db) AS ut ON ut.user_id='6' at line 3
UPDATE ".ADDON_TABLE." AS at
LEFT JOIN
(SELECT user_id, user_************ FROM ".USER_TABLE.") AS ut ON ut.user_id='$i'
SET
at.user_groesse='$c'
WHERE at.a_user_id='$i' AND ut.user_************='2'") or die(mysql_error());
Kommentar