
Kanji
User
/ Moderator
Aug 10, 2000, 6:07 AM
Post #2 of 4
(381 views)
|
Do an if-else on whether $FormData{'icq'} contains anything ... <BLOCKQUOTE><font size="1" face="Arial,Helvetica,sans serif">code:</font><HR> if ( defined $FormData{'icq'} ) { print $FormData{'icq'}; } else { &html; }</pre><HR></BLOCKQUOTE> Also, I'm not sure why you use @LiteCGI if all you do with it is create a hash? Why not create the hash directly? <BLOCKQUOTE><font size="1" face="Arial,Helvetica,sans serif">code:</font><HR> # Parse and assign results %FormData = $InCGI->parse_form_data();</pre><HR></BLOCKQUOTE>
|