|
 |
|
ผิดตรงไหนค่ะ ช่วยดูหน่อย ไม่รู้ทามไม คิวรี่ไม่ออกอะ ผิดตรงไหนช่วยดูหน่อย ขอบคุณ |
|
 |
|
|
 |
 |
|
$strSQL="SELECT A.ID, A.PREFIX_NAME, A.STD_FNAME, A.STD_LNAME, B.FAC_NAME_TH, C.PROGRAM_NAME_TH ";
$strSQL.="FROM uoc_std A LEFT JOIN ref_fac B ON(A.FAC_ID=B.FAC_ID) ";
$strSQL.="LEFT JOIN ref_program C ON(A.PROGRAM_ID=C.PROGRAM_ID) ";
$strSQL.="WHERE A.STD_FNAME LIKE '$txtfname%' ";
ลองอย่างนี้ก่อน
ถ้าไม่ได้ ลองพิมพ์ echo mysql_error(); เพื่อดูว่ามัน error ตรงไหนของคำสั่ง sql
|
 |
 |
 |
 |
Date :
2009-09-14 13:59:03 |
By :
onizike |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
|
|
|

|
Load balance : Server 02
|