$strSQL = "SELECT * FROM bookdata inner join typedata on bookdata.typeid = typedata.typeid WHERE (namebook LIKE '%".$_GET["txtKeyword"]."%')";
แก้เป็น
Code (PHP)
$strSQL = "SELECT bookdata.*,typedata.* FROM bookdata inner join typedata on bookdata.typeid = typedata.typeid WHERE (bookdata.namebook LIKE '%".$_GET["txtKeyword"]."%')";