Specifications

LISTING 30.1 Continued
<li><input type = radio name = q1 value = 1>
Outputs strings.
<li><input type = radio name = q1 value = 2>
Adds two numbers together.
<li><input type = radio name = q1 value = 3>
Creates a magical elf to finish writing your code.
</ol>
<p>What does the PHP function cos() do?
<ol>
<li><input type = radio name = q2 value = 1>
Calculates a cosine in radians.
<li><input type = radio name = q2 value = 2>
Calculates a tangent in radians.
<li><input type = radio name = q2 value = 3>
It is not a PHP function it is a lettuce.
</ol>
<p>What does the PHP function mail() do?
<ol>
<li><input type = radio name = q3 value = 1>
Sends a mail message.
<li><input type = radio name = q3 value = 2>
Checks for new mail.
<li><input type = radio name = q3 value = 3>
Toggles PHP between male and female mode.
</ol>
<p align = center><input type = image src = “certify-me.gif” border = 0>
</form>
</body>
</html>
The result of loading index.html in a Web browser is shown in Figure 30.2.
Building Practical PHP and MySQL Projects
P
ART V
754
36 7842 CH30 3/6/01 3:40 PM Page 754