Thanks for all your help, I now have add, update, and delete functions on my database manipulation program. But I'm having difficulty on searching for records in mysql database. Please help me in correcting my codes, and if you know a site that I can use as my reference please do tell. Thanks, here is my search code:
<?php
$con = mysql_connect("localhost","root","");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("koro", $con);
mysql_query("UPDATE student
WHERE IDNUMBER ='$_POST[INAME]'");
while ($row = mysql_fetch_array($query))
{
$variable1=$row["IDNUMBER"];
$variable2=$row["LNAME"];
$variable3=$row["FNAME"];
$variable3=$row["MNAME"];
$variable3=$row["GRADEYR"];
$variable3=$row["ADDRESS"];
}
mysql_close($con);
?>
Ve burada ben kullanıyorum html formudur, ve ben sorunun nerede bu olduğunu düşünüyorum. Ben metin kutusuna koymak sonuçları konusunda herhangi bir fikrim yok.