Jump to content

debbiebazemore@yahoo.com

New Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by debbiebazemore@yahoo.com

  1. The first place I would check would be the line that creates that link within view.php. Make sure it includes "?id=":

     

    echo '<td><a href="edit.php?id=' . $row['id'] . '">Edit</a></td>';

     

    If you've double checked that and are still having problems, start a new topic in the PHP forum, post your code and I'll take a look.

     

    Thanks for the sample link. That worked! I was a little off on the formatting.

  2. I am very new to php and mysql and have been playing with your sample code. I am having a problem with the edit and delete links in view.php. When I click on the edit link it take me to http://www.website.com/edit.php8 instead of http://www.website.com/edit.php?id=8.'>http://www.website.com/edit.php?id=8. If I type http://www.website.com/edit.php?id=8 in the url it will display the page and allow me to edit. Also, I had to add <? ob_start(); ?> to the top and <? ob_flush(); ?> to the bottom of edit.php. Any suggestions?

×
×
  • Create New...