David Gilden <mailto:[EMAIL PROTECTED]> wrote: : The if statement below does not seem to work as expected// : : Given in the HTML: : <select name="message type">
Don't use white space in form field names. <select name="message_type"> : and in the perl: : : #!/usr/local/bin/perl : use CGI qw/:standard/; : use strict; : : #and other stuff... : : my $mt = param('message type'); my $mt = param('message_type'); I also don't use white space in option values. HTH, Charles K. Clarkson -- Mobile Homes Specialist 254 968-8328 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>