October 2009
Beginner
408 pages
7h 27m
English
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
Read now
Unlock full access