include("config.php");
mysql_query("SET NAMES utf8");
$qSQL = "SELECT * FROM office_hours WHERE status='1' order by semester desc";
$qQuery = mysql_query($qSQL) or die ("Error Query [".$qSQL."]");
//$Result = mysql_fetch_array($qQuery);
?>
โครงสร้างหน่วยงาน
while($Result = mysql_fetch_array($qQuery)){?>
include("config.php");
mysql_query("SET NAMES utf8");
$SQL1 = "SELECT * FROM user where user_id='".$Result['user_id']."' ";
$Query1 = mysql_query($SQL1) or die ("Error Query [".$SQL1."]");
$Result1 = mysql_fetch_array($Query1);
?>
|
}?>