Ronald,
Thanks for the post. I've tried what you've suggested. Unfortunately, when I try to catch the arguments passed using isset($_GET[]) in a different form, it returns 1 for all the arguments.
The problem I have could be easily remedied if it is in the form. Is there a way to pass values to other php page without using a form?
User Profile
Collapse
-
form shortcut
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)
...Code:<form action="process.php" method="POST"> <input type="text" name="delname">
-
Steven,
First, thanks for the reply. I really appreciate the help.
The contents of 'processor.php' looks like this:
...Code:<?php include("../include/session.php"); class AdminProcess { function eraseit(){ global $session, $database, $form; $subuser = $this->checkUsername("deluser"); //deluser is the image name :Leave a comment:
-
Steven,
First, thanks for the reply. I really appreciate the help.
The contents of 'processor.php' looks like this:
...Code:<?php include("../include/session.php"); class AdminProcess { function eraseit(){ global $session, $database, $form; $subuser = $this->checkUsername("deluser"); //del $q = "DELETE FROM ".TBL_USERS."Leave a comment:
-
Deleting a Record
Hi All!
I have a form (form1.php) that displays the contents of a table, alongside each row is an icon to delete or edit that record. If I click on the 'delete' icon, the record number should be passed to another page (lets say 'processor.php' ) which has a lot of functions one of which is the 'eraseit' function.
My problem is that the record is not deleted with this code snippets:
<a href='process.p hp?action='POST '&id='eraseit '>...
No activity results to display
Show More
Leave a comment: