Updating and Deleting Entries

  • Jason Lengstorf


In this chapter, you’ll learn how to modify and delete an existing entry. To accomplish this, you need to do the following in your application:
  • Create administrative links (edit and delete)

  • Display the administrative links in index.php

  • Populate the admin form with entry information if you’re editing

  • Modify .htaccess to pass a URL to admin.php

  • Check whether submitted form values are edits or new entries

  • Update entries in the entries table

  • Check whether an entry is marked for deletion

  • Remove deleted entries from the entries table


Conditional Statement Entry Table Entry Header Current Page Word Character 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Jason Lengstorf 2010

Authors and Affiliations

  • Jason Lengstorf

There are no affiliations available

Personalised recommendations