[Tanya] Permisi, Pesan Eror dari SQL "SQL Error 2You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'zelda mariza rofifah'','::1',NOW())' at line 2" kode sqlnya : [code] $sql = " INSERT INTO tmp_pasien (nama,noip,tanggal) VALUES ('$CmbPenyakit','$NOIP',NOW())"; [code] Kesalahannya dimana gan? | |||
rofifah'' << kok ada 2 kutip | |||
Nah itu saya nyari problemnya kenapa kok muncul 2 kutip.. belm ketumu om | |||
coba saya benerina ya..$sql = (" INSERT INTO tmp_pasien (nama,noip,tanggal) VALUES ('$CmbPenyakit','$NOIP',NOW()))"; or $sql = mysql_query(" INSERT INTO tmp_pasien (nama,noip,tanggal) VALUES ('$CmbPenyakit','$NOIP',NOW()))"; | |||
at. firman ok saya coba dulu.. |
M Saiful Mukharom 27 Jun, 2013
-
Source: http://www.facebook.com/groups/35688476100/?id=10151720929701101
--
Manage subscription | Powered by rssforward.com
Tidak ada komentar:
Posting Komentar