A little more code would be handy. We promise not to steal it for our own use <GRIN> When you print $inst, is the correct value displayed? May we assume the <SELECT> block is in a form?
-----Original Message----- From: John Gurley [mailto:[EMAIL PROTECTED]] Sent: Monday, February 18, 2002 10:06 AM To: [EMAIL PROTECTED] Subject: [PHP] response here is the html part of the code:: <h3 align="center"> Instrument</h3> <center> <select name=inst> <option selected value=1>Beeps</option> <option value=2>Violin</option> </select> </center> and the php:: echo($inst); if($inst == 2) { } cheers _________________________________________________________________ Join the world's largest e-mail service with MSN Hotmail. http://www.hotmail.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php