Form  

CPT 106 · Franklin College · Erich Prisner · 2002-2006

Please fill out the form.

Mr Mrs Ms Dr
First Name: Last Name: Age:
Are you interested in Algebra Calculus Computing

Dear "; if ($age<20) { echo $firstname . ",

";} else { echo $title . " ". $lastname . ",

";} if ($alginterest=="algebra") { echo "

You may want to check the start page for College Algebra.

"; } if ($calcinterest=="calculus") { /* These are the PHP cpomments */ /* instead of using echo, we can also leave PHP here and write the HTML text we want to display in that case. */ ?>

You may want to check the start page for Calculus.

You may want to check the start page for CPT105.

I still believe you have a lot of interests, but I cannot help you here.

"; } if ($age<20 && $title=="Dr") { echo "

You look a little young for a doctor. Are you sure that you filled out this form correctly?

"; } } ?>

Erich Prisner, November 2006