php_mysql_apache [Electronic resources]

Julie C. Meloni

نسخه متنی -صفحه : 323/ 187
نمايش فراداده

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

A1:

The $_GET superglobal.

A2:

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 18.8 shows how a record will look after secondary contact information is added to it.

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