$objConnect = mysql_connect("localhost","root","1234") or die("Error Connect to Database");
$objDB = mysql_select_db("nk_school") or die(mysql_error());
// Search By Name or Email
$strSQL = "SELECT * FROM tb_student WHERE (student_name LIKE '%".$_GET["txtKeyword"]."%' or student_sex LIKE '%".$_GET["txtKeyword"]."%' )";
mysql_query("SET NAMES UTF8"); //เพิ่มตรงนี้ครับ
$objQuery = mysql_query($strSQL) or die ("Error Query [".$strSQL."]");