mysql_query("INSERT INTO tblstudent (s_id,name, c_code, year, subj_id)
VALUES ('sid','$namee', '$c_code', '$year', 'subj_id')");
echo "
<html>
<body>
sid : ".$sid." <br>
name : ".$namee." <br>
c code: ".$c_code." <br>
year : ".$year." <br>
subject id: ".$subj_id." <br>
<br>
New student has been successfully added!
<br>
<br>
<a href=mainpage.php>Back to Main</a>
</body>
</html>
";
?>
------------------------------------------------------------------------------------------------------------------------------------------
EDIT STUDENT
FORM with VALUE RESULT