User Profile

Collapse

Profile Sidebar

Collapse
jonborbon
jonborbon
Last Activity: Oct 9 '06, 10:31 AM
Joined: Sep 26 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • jonborbon
    replied to form shortcut
    in PHP
    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?
    See more | Go to post

    Leave a comment:


  • jonborbon
    started a topic form shortcut
    in PHP

    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">
    ...
    See more | Go to post

  • jonborbon
    replied to Deleting a Record
    in PHP
    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
             :
    ...
    See more | Go to post

    Leave a comment:


  • jonborbon
    replied to Deleting a Record
    in PHP
    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."
    ...
    See more | Go to post

    Leave a comment:


  • jonborbon
    started a topic Deleting a Record
    in PHP

    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 '>...
    See more | Go to post
No activity results to display
Show More
Working...