Workshop


The workshop is designed to help you anticipate possible questions, review what you've learned, and begin putting your knowledge into practice.

Quiz

1.

When passing a variable through the query string, which superglobal does it belong in?

2.

How many records in the address, email, telephone, and fax tables can you have for each individual in your master_name table?

Answers

1.

The $_GET superglobal.

2.

As many as you wantit's relational!

Activities

  1. Go through each of the administration scripts and modify the code so that a link to the menu is printed at the bottom of each screen.

  2. Use the second version of the addentry.php script to add secondary contact information to records in your database. Figure 20.8 shows how a record will look after secondary contact information is added to it.

    Figure 20.8. An individual's record with multiple entries in tables.




Sams Teach Yourself PHP, MySQL And Apache All in One
Sams Teach Yourself PHP, MySQL and Apache All in One (3rd Edition)
ISBN: 0672328739
EAN: 2147483647
Year: 2004
Pages: 327

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net