Re: hi

From: Date: Sat, 05 Aug 2000 12:41:12 +0000
Subject: Re: hi
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-1801@lists.php.net to get a copy of this message
Hai, I have a problem with my program, that's my source code <html> <-- Jobapp_action2.php3 --> <body> <?php require("common.php3"); $submit=1; //submit flag if (!$applicant) { $submit=0; $applicant="<b> Invalid Name <b>"; } if (!check_email($email)) { $submit=0; $email="<b> Invalid E-mail Address </b>"; } echo("<b> you have Submitted The following :</b>".NL.NL. // new line // constant "Name : $applicant".NL. "Phone : $phone".NL. "E-Mail : $email".NL. "Country : "); switch ($country) { case "ca": echo (" Canada "); break; case "cr": echo (" Costa Rica "); break; case "de": echo (" Germany "); break; case "uk": echo (" United Kingdom "); break; } echo ( NL. "position : " ); switch ($position) { case "a": echo (" Accounting "); break; case "b": echo (" Bicyle Repair "); break; case "h": echo (" Human Resources "); break; case "m": echo (" Management "); break; case "s": echo ("Sales"); break; } echo (NL); // convert to boolean $avail=isset($avail); echo ("Available immediately :" .($avail ? "yes" : "no")); // convert to boolean $avail=isset($avail); echo ("Available immediately :" .($avail ? "yes" : "no")); ?> <form method=post > <?php if ($submit) { echo ("<input type='submit' value='submit'>"); } ?> <input type='button' value='go back' onclick='self.history.back();'> </form> </body> </html> ----- my question is ,why option in position can't appear in the web while option country is success any idea? Irwan I am sorry my english is bad Thank you very much!

« previous php.db (#1801) next »