Page 463 - Beginning PHP 5.3
P. 463
Chapter 14: Manipulating MySQL Data with PHP
books.php:
< ?php
require_once( “../common.inc.php” );
checkLogin();
displayPageHeader( “Our current reading list”, true );
? >
< dl >
< dt > Moby Dick < /dt >
< dd > by Herman Melville < /dd >
< dt > Down and Out in Paris and London < /dt >
< dd > by George Orwell < /dd >
< dt > The Grapes of Wrath < /dt >
< dd > by John Steinbeck < /dd >
< /dl >
< p > < a href=”index.php” > Members’ area home page < /a > < /p >
< ?php displayPageFooter(); ? >
contact.php:
< ?php
require_once( “../common.inc.php” );
checkLogin();
displayPageHeader( “Contact the book club”, true );
? >
< p > You can contact Marian, the organizer of the book club, on < strong > 187-
812-8166 < /strong > . < /p >
< p > < a href=”index.php” > Members’ area home page < /a > < /p >
< ?php displayPageFooter(); ? >
diary.php:
< ?php
require_once( “../common.inc.php” );
checkLogin();
displayPageHeader( “Upcoming events”, true );
? >
< dl >
< dt > September 23 < /dt >
< dd > Book reading by Billy Pierce < /dd >
< dt > October 3 < /dt >
< dd > Club outing to Yellowstone < /dd >
< dt > October 17 < /dt >
< dd > Book signing by Valerie Wordsworth at the local bookstore < /dd >
< /dl >
< p > < a href=”index.php” > Members’ area home page < /a > < /p >
< ?php displayPageFooter(); ? >
425
9/21/09 9:14:11 AM
c14.indd 425 9/21/09 9:14:11 AM
c14.indd 425