|
สมาชิกทั้งหมด
include ("../config.php");
mysql_connect( "$ServerName" , "$UserName" , "$UserPassword" );
// แก้ตัวอักษร
mysql_db_query("ytc","SET NAMES tis-620");
mysql_query("SET character_set_results =NULL");
$sql = "select * from school where id_school !='crk' and id_school !='le'
and id_school !='ks' and id_school !='e' order by id ASC ";
$result = mysql_db_query($DataBaseName,$sql);
$NRow = mysql_num_rows($result);
$count=0;
while ($result_fetch=Mysql_fetch_array($result)) {
//echo ''.$count.'. '.$result_fetch[2].' ';
$count++;
}
echo $count;
?>
ท่าน
|
|
|