| Server IP : 172.67.187.206 / Your IP : 172.71.28.156 Web Server : Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/5.6.30 System : Windows NT WIN-ECQAAA40806 6.2 build 9200 (Windows Server 2012 Standard Edition) i586 User : SYSTEM ( 0) PHP Version : 5.6.30 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : E:/Inetpub/www/myschool/triamudom/check/webadmin/ |
Upload File : |
<?php
session_start();
$path = "../";
include ($path.'include/config_db.php');
include ($path.'include/class_db.php');
include ($path.'include/class_display.php');
include ($path.'include/function.php');
include ($path.'include/permission_denied.php');
$CLASS['db'] = new db();
$CLASS['db']->connect();
$CLASS['disp'] = new display();
$db = $CLASS['db'];
$disp = $CLASS['disp'];
$date_day = date("Y-m-d").' '.date("H:i:s");
$tb_teacher_id = $_REQUEST['tb_teacher_id'];
$count_rows = $_REQUEST['count_rows'];
$tb_teacher_degree =$_REQUEST['tb_teacher_degree'];
for($r=0;$r<$count_rows;$r++){
$tb_teacher_id_r = $tb_teacher_id[$r];
$tb_teacher_degree_r = $tb_teacher_degree[$r];
$update = $db->query("update tb_teachers set tb_teacher_degree ='".$tb_teacher_degree_r."' where tb_teacher_id='".$tb_teacher_id_r."' ");
//echo "update tb_teachers set tb_teacher_degree ='".$tb_teacher_degree_r."' where tb_teacher_id='".$tb_teacher_id_r."' ";
}
print "
<script language='javascript'>
window.location.href='display_teacher_mathroom.php';
</script>
";
?>