You have an error in your SQL syntax. Check the manual that corresponds to your MySQL
Startseite > PHP mit MySql > You have an error in your SQL syntax. Check the manual that corresponds to your MySQL
Hier finden sie ein Lösungansatz zu dieser MySql Fehlermeldung.
Fehlermeldung
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 smallcms_themen_artikel' at line 4
Code:
Die Fehlermeldung sagt das der Fehler in der Zeile 4 des sql - Statements ist.
In diesem Fall liegt es an dem Komma, hinter der Spaltenaufzählung title das dort nicht hingehört.
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 smallcms_themen_artikel' at line 4
Code:
- $query = "SELECT
- id,
- title,
- FROM smallcms_themen_artikel";
- $result = mysql_query($query);
- echo mysql_error();
Die Fehlermeldung sagt das der Fehler in der Zeile 4 des sql - Statements ist.
In diesem Fall liegt es an dem Komma, hinter der Spaltenaufzählung title das dort nicht hingehört.
Kommentar schreiben
andere Themen:
24.02.2005
Parse error: parse error, unexpected T_LNUMBER22.02.2005 Parse error: parse error, unexpected T_VARIABLE, expecting T_OLD_FUNCTION or T_FUNCTION or
22.02.2005 Notice: Array to string conversion in
21.02.2005 Warning: Division by zero
Zurück

Kommentare
11.11.2007: Gerrit
17.03.2008: susan