เกิดเออเลอแบบนี้ select * from where 1101500179938='1101500179938'
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 'where 1101500179938='1101500179938'' at line 1
มันผิดตรงไหนครับ (runบนServer)
$sql = "select * from $tperson where $IDCARD like '%$search%'"; ส่วนบรรทัดนี้ ผมลองใช้ใน localhost ใช้ได้ปกติ แต่เอาขึ้นServer กลับใช้ไม่ได้ เป็นที่อะไรอะครับ