Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [MySQL]Błąd zapytania, co jest ?
GreenGo
post
Post #1





Grupa: Zarejestrowani
Postów: 265
Pomógł: 4
Dołączył: 30.08.2004

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


Witam mam takie zapytanie:
  1. $query = mysql_query("INSERT INTO courses (when, where) value ('asdasdas', 'asdsad')") or die(mysql_error());

i wyświetla mi błąd:
Kod
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 'when, where) value (asdasdas, asdsad)' at line 1


Serio nie mam pojęcia co jest nie tak :|
Go to the top of the page
+Quote Post

Posty w temacie


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

 



RSS Aktualny czas: 22.08.2025 - 04:25