Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> 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
szymon202
post
Post #1





Grupa: Zarejestrowani
Postów: 152
Pomógł: 0
Dołączył: 13.08.2013

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


Błąd:
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 'condition, quantity, price, img) VALUES ('USP-S | Obrońca', 'Fabrycznie nowa' at line 1
Zapytanie:
$wystaw = $db -> query("INSERT INTO products (name, condition, quantity, price, img) VALUES ('{$_POST["nazwa"]}', '{$_POST["stan"]}', '{$_POST["sztuk"]}', '{$_POST["cena"]}', '{$_POST["zdjecie"]}')");
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: 3.10.2025 - 01:43