t(); } if($_SESSION['Status'] != "ADMIN") { echo "This page for Admin only!"; header("location:login.php"); exit(); }*/ /*** Connect ***/ /* // Or // mysql_query("SET character_set_results=utf8"); mysql_query("SET character_set_client=utf8"); mysql_query("SET character_set_connection=utf8"); */ /*** Add Record ***/ /*if($_GET["Action"]=="Save") { $strSQL = "INSERT INTO mydata_utf8 (NAME,SURNAME) VALUES ('".$_POST["txtName"]."','".$_POST["txtSurname"]."')"; mysql_query($strSQL); } /*** List Record ***/ $strSQL = "SELECT * FROM new_data"; $objQuery = mysql_query($strSQL) or die ("Error Query [".$strSQL."]"); ?>

 

 



 


Tags
MBA
IELTS
chulatutor