BMS-HOSxP Community

HOSxP => แจ้งปัญหา / ขอความช่วยเหลือ => ข้อความที่เริ่มโดย: Bluebird ที่ กันยายน 03, 2012, 16:32:01 PM

หัวข้อ: บันทึกแพ้ยาไม่ได้ ขึ้น error
เริ่มหัวข้อโดย: Bluebird ที่ กันยายน 03, 2012, 16:32:01 PM
บันทึกแพ้ยาไม่ได้ System Message
SQL 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 'show) VALUES ('0019915','2012-09-02','ceftriazone','ปากบวมคัน คลื่นไส้','4020',N' at line 1
select * from opd_allergy where hn = '0019915' and agent=''
หัวข้อ: Re: บันทึกแพ้ยาไม่ได้ ขึ้น error
เริ่มหัวข้อโดย: Bluebird ที่ กันยายน 05, 2012, 14:59:49 PM
ลงข้อมูลการแพ้ยา พอกดบันทึก จะขึ้น Debug

แจ้งข้อความ ว่า
SQL 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 'show) VALUES ('0019915','2012-09-02','ceftriazone','ปากบวมคัน คลื่นไส้','4020',N' at line 1
select * from opd_allergy where hn = '0019915' and agent=''
หัวข้อ: Re: บันทึกแพ้ยาไม่ได้ ขึ้น error
เริ่มหัวข้อโดย: Bluebird ที่ กันยายน 06, 2012, 15:26:59 PM
มีท่านใดพอรู้สาเหตุไหมครับ