 |
error ยังงี้แก้ยังไงหรอค่ะ VALUES (1234, 'หมูหยอง ขนฟู'' at line 1New Entry Added for ( announcement). |
|
 |
|
|
 |
 |
|
Database Error: INSERT INTO pcu_service(nopcu, name_sur, depart, phone, email, status, chk, journal, group, other,sent,no_journal) VALUES (1234, 'หมูหยอง ขนฟู', 'คณิตศาสตร์', '02222222', '[email protected]', 'อาจารย์', '', '', '', '','',) 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, other,sent,no_journal) VALUES (1234, 'หมูหยอง ขนฟู'' at line 1New Entry Added for ( announcement).
แก้ยังไงหรอค่ะ หาวิธีแก้ไม่ได้เลยค่ะ 2 วันแล้ว ช่วยด้วยค่ะ
Tag : - - - -
|
|
 |
 |
 |
 |
Date :
2009-12-05 01:15:18 |
By :
elfying |
View :
1026 |
Reply :
4 |
|
 |
 |
 |
 |
|
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
VALUES (1234, 'หมูหยอง ขนฟู', 'คณิตศาสตร์', '02222222', '[email protected]', 'อาจารย์', '', '', '', '','',)
ไม่ได้ใส่ single quote ' หรือเปล่า และ ตัว comma ตัวสุดท้ายเกินมาอ่ะ
|
 |
 |
 |
 |
Date :
2009-12-05 01:20:43 |
By :
chubichane |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ขอบคุณมากค่ะ สำหรับคำตอบ 
|
 |
 |
 |
 |
Date :
2009-12-05 01:25:49 |
By :
elfying |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ไม่เป็นไรครับ แต่ว่าแก้ได้หรือเปล่า หรือเป็นที่ตรงอื่นมาบอกด้วยเด้อ...
|
 |
 |
 |
 |
Date :
2009-12-05 01:40:06 |
By :
chubichane |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
จริงอย่างที่คุณ C h u |3 i @ M U T ว่าครับ
บรรทัดนั้น หลัง คอมม่า มีพารามิเตอร์อีกตัว
Code
pcu_service(nopcu, name_sur, depart, phone, email, status, chk, journal, group, other,sent,no_journal)[
ตรงนี้มี 12 ตัว แต่ ...
Code
VALUES (1234, 'หมูหยอง ขนฟู', 'คณิตศาสตร์', '02222222', '[email protected]', 'อาจารย์', '', '', '', '','',)
ตรงนี้ด้านหลังขาดไปหนึ่งตัวนะ
|
 |
 |
 |
 |
Date :
2009-12-05 21:48:34 |
By :
kenessar |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
|
|