Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> MySQL niezrozumiały syntax error
wszerad
post
Post #1





Grupa: Zarejestrowani
Postów: 106
Pomógł: 18
Dołączył: 11.12.2008

Ostrzeżenie: (0%)
-----


Fragment kodu:
  1. $result = mysql_list_tables('w');
  2. for ($i = 0; $i < mysql_num_rows($result); $i++)
  3. printf ("Tabela: %s\n", mysql_tablename($result, $i));
  4. $result = mysql_query("SELECT * FROM group");

Wynikiem jest:
"ďťżTabela: group 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 'group' at line 1"

Totalnie nie wiem co tu jest nie tak i nie mogę tego złamać przez długi czas, może ktoś coś widzi?
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 22.08.2025 - 16:34