Eroare de MySQL la adaugare date in tabel
Scris: Mar Oct 02, 2012
Am un tabel cu 6 coloane
Id - INT
cat - VARCHAR(50)
title - VARCHAR (50)
price - VARCHAR (6)
des - TEXT
date - VARCHAR (15)
Si incerc sa bag date in bd printr-un formular.
La cat - STARTERS
La title - Mixed Hors D'oeuvre
La Price - 4.95
La des - Chicken tikka, sheek kebab, Lamb Tikka, Drumstick, onion bhaji
La date - se adauga valoarea prin functia date();
Si imi apare eroarea asta:
Ciudat e ca daca la title , nu folosesc acel " ' " comanda este efectuata.
Vreo idee careva? Multumesc
Id - INT
cat - VARCHAR(50)
title - VARCHAR (50)
price - VARCHAR (6)
des - TEXT
date - VARCHAR (15)
Si incerc sa bag date in bd printr-un formular.
La cat - STARTERS
La title - Mixed Hors D'oeuvre
La Price - 4.95
La des - Chicken tikka, sheek kebab, Lamb Tikka, Drumstick, onion bhaji
La date - se adauga valoarea prin functia date();
Si imi apare eroarea asta:
Cod: SelectaĊ£i tot
Error: 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 'oeuvre', '4.95', ' Igonore the "." when you write the syntax. ', '02-10-2012' at line 4
Vreo idee careva? Multumesc