echo ""; include('header.php'); header('Content-Type: text/html; charset=tis-620'); include_once('db_config.php'); $sql1="select *,date_format(kd_dob,'%Y%m%d') as bdate from $_data,$_sch where kd_sch=scode and kd_id='$id' "; $result1=mysql_query($sql1); $db1=mysql_fetch_array($result1); $by=substr($db1[bdate],0,4); $agy=$_yr-$by; echo "
$db1[kd_std] อายุ $agy ปี ชั้น $db1[kd_level] โรงเรียน$db1[sname] สังกัด อบจ.ศรีสะเกษ |
|