Hacked By AnonymousFox

Current Path : C:/AppServ/www/timetable/home/
Upload File :
Current File : C:/AppServ/www/timetable/home/editpoint_save.php

<?
include("../lib/session.php"); 
include("../lib/config.php");
include("../lib/connect.php");
include("../lib/function.php");
$Idexam=$_POST["Idexam"];

$sql = "select * from cm_mod_detailpoint where cm_mod_detailpoint_ExamID='$Idexam' order by cm_mod_detailpoint_Idstudent asc";
$query = mysql_query($sql);
$row=mysql_fetch_array($query);
		for($i=0;$i<count($_POST["addpoint"]);$i++)
		{    
		$d=$i+$row[cm_mod_detailpoint_ID];
		$array=$_POST["addpoint"][$i];
				
		$sql2 = "update cm_mod_detailpoint set cm_mod_detailpoint_Point = '$array' where cm_mod_detailpoint_ID = '$d'";
		$query2=mysql_query($sql2);	

		}
		
?>

Hacked By AnonymousFox1.0, Coded By AnonymousFox