<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<p>
<?php
$objConnect = mysql_connect("linuxdb2.rmutsv.ac.th","asusystem","asu@2558") or die("Error Connect to Database");
$objDB = mysql_select_db("asu_project");
mysql_query("SET character_set_results=utf8");
mysql_query("SET character_set_client=utf8");
mysql_query("SET character_set_connection=utf8");
$strSQL = "SELECT * FROM ex WHERE name = '".$_GET["name"]."' ";
$objQuery = mysql_query($strSQL) or die ("Error Query [".$strSQL."]");
$objResult = mysql_fetch_array($objQuery);
mysql_connect("linuxdb2.rmutsv.ac.th","asusystem","asu@2558") or die(mysql_error());
mysql_select_db("asu_project") or die(mysql_error());
mysql_query("SET NAMES UTF8"); //Extension By DwThai.Com
$query = "SELECT * FROM `pos` ORDER BY `pos_id` ";
$result = mysql_query($query) or die(mysql_error()."[".$query."]");
mysql_connect("linuxdb2.rmutsv.ac.th","asusystem","asu@2558") or die(mysql_error());
mysql_select_db("asu_project") or die(mysql_error());
mysql_query("SET NAMES UTF8"); //Extension By DwThai.Com
$query = "SELECT * FROM `faculty` ORDER BY `fac_id` ";
$result = mysql_query($query) or die(mysql_error()."[".$query."]");