อันนี้คือ form ที่จะทำการรับค่าแก้ไข
<html>
<body bgcolor="#FFFFFF">
<?
$host="localhost";
$username="root";
$password="";
$db="project";
$tb="student";
$connect= mysql_connect( $host,$username,$password) or die ("µÔ´µè͡Ѻ°Ò¹¢éÍÁÙÅ Mysql äÁèä´é ");
mysql_select_db($db) or die("àÅ×Í¡°Ò¹¢éÍÁÙÅäÁèä´é");
$sql="select * from student where student_id='$student_id' ";
$db_query=mysql_query($sql);
$result = mysql_fetch_array($db_query);
/*$sql="select * form $tb where student_id=$STUDENT_ID";
mysql_select_db($db) or die("àÅ×Í¡°Ò¹¢éÍÁÙÅäÁèä´é");
$sql="update $tb set * TITLE='$title',NAME='$name',SURNAME='$surname',CLASS_ROOM='$classroom' where id=$id";