Here is an excerpt from my code. I have removed <table>, <tr> statements and angular brackets as this website seems to interpret it instead of showing them literally.
while ($row = mysql_fetch_row($result)) {
foreach($row AS $column) {
echo $column;
}
echo '<a href=\"form.php\"> UPDATE </a>';
echo '<a href=\"delete.php\"> DELETE </a>';
}
Now when user clicks on update, the value of first column of the selected row should be passed as querystring.
So, what should I add in a href statement ?
mysql_fetch_row() returns one row as numerically indexed array
and do not use
mysql_extension, try newer alternatives like mysqli or PDO