SQL Basics II: Address Book and Bookmarks

A continuation of SQL usage in PHP using more functionality.

Address Book/Bookmark example

  • listcontacts.php - lists contacts (source)
  • newcontact.php - adds a new contact (Same as in previous primer)
  • newbookmark.php - adds a new bookmark (source)
  • showbookmarks.php - shows all the bookmarks for a user (source)

The database schema for the "addressbook" table is the same as for the previous primer.