HOME > PHP > PHP Forum > จะเขียนโค๊ดนี้ผิดตรงไหนครับ You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right
จะเขียนโค๊ดนี้ผิดตรงไหนครับ You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right
$info="select * from bookingdetails category='transport' and type1 like '$type' and payment_status='COMPLETE' and where booking_id='$booking_id' order by booking_id DESC";
errorYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '='transport' and type1 like '%' and payment_status='COMPLETE' and where booking_' at line 99
Tag : - - - -
Date :
4 เม.ย. 2551 10:59:05
By :
ไนนไ
View :
1300
Reply :
2
No. 1
Guest
โทษทีครับแก้ได้ละ ลืมดู
Date :
4 เม.ย. 2551 11:03:14
By :
www
No. 2
Guest
$info="select * from bookingdetails category='transport' and type1 like '$type' and payment_status='COMPLETE' where booking_id='$booking_id' order by booking_id DESC";