Dear all,
I have a display of records from a table, alongside each record is an image for deleting, updating, etc. in a page named DISPLAY.Php.
What I want to dos is instead of displaying a form to delete a record specified by the delname textbox (as shown below)
I would just assign use the image for deleting the record duplicating the form function above using these:
Problem is, process.php does not delete the record specified by $uname. Any help is highly appreciated.
I have a display of records from a table, alongside each record is an image for deleting, updating, etc. in a page named DISPLAY.Php.
What I want to dos is instead of displaying a form to delete a record specified by the delname textbox (as shown below)
Code:
<form action="process.php" method="POST">
<input type="text" name="delname">
: other entries
<input type="hidden" name="fdeluser" value="1">
<input type="submit" value "Delete this user">
</form>
Code:
<a href="process.php?action=fdeluser&deluser=' . $uname .'"><image source></a>
Comment