Hacked By AnonymousFox

Current Path : C:/AppServ/www/timetable_teacher/home/
Upload File :
Current File : C:/AppServ/www/timetable_teacher/home/addpoint.php

<?
include("../lib/session.php");
include("../lib/config.php");
include("../lib/connect.php");
include("../lib/function.php");
include("../lib/register_global.php");

$Idst=$_POST["Idst"];

$sqlst="select * from report_st  where Idstudent='$Idst'"; 
$query = mysql_query($sqlst);
$row=mysql_fetch_array($query);
		for($i=0;$i<count($_POST["inputconsult"]);$i++)
		{    
		$d=$i+$row[Id];	
		$array=$_POST["inputconsult"][$i];
		$sql2 = "update report_st set Consult_text = '$array' where Id = '$d'";
		$query2=mysql_query($sql2);	
		}
?>
<script langquage='javascript'>
alert('บันทึกข้อมูลเรียบร้อยแล้ว');
window.location="add_consult.php?Idcs=<?=$Idst?>";
</script>

Hacked By AnonymousFox1.0, Coded By AnonymousFox