Workshop


The workshop is designed to help you anticipate possible questions, review what you've learned, and begin learning how to put 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 19.8 shows how a record will look after secondary contact information is added to it.

    Figure 19.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 (4th Edition)
ISBN: 067232976X
EAN: 2147483647
Year: 2003
Pages: 333
Authors: Julie Meloni

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