Thomas Mell: Syntaxfehler in Abfrage?

Beitrag lesen

Hallo,
entweder: $update_logfailed = mysql_query("UPDATE User\_Data SET logfailed = '0' WHERE id\_data = " . $_SESSION['user_id']);
oder: $update_logfailed = mysql_query("UPDATE User\_Data SET logfailed = '0' WHERE id\_data = {$_SESSION['user_id']}");

Grüße
Thomas