venimfrogtongue has asked for the wisdom of the Perl Monks concerning the following question:
What I am trying to do is write an IF statement so the script only displays the codes they added input to. This is a meta tag building script, if they don't add text in one of the fields I don't want it to display <meta name="keywords" CONTENT="">, I just don't want it to display at all. Any suggestions? Thanks!print<<EOF <META NAME="keywords" CONTENT="$formdata{keywords}"> <META NAME="description" CONTENT="$formdata{description}"> EOF
Edit Masem 2002-03-13 - Code tags
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: If statements while in PRINT
by Masem (Monsignor) on Mar 14, 2002 at 01:45 UTC | |
Re: If statements while in PRINT
by rob_au (Abbot) on Mar 14, 2002 at 01:42 UTC | |
Re: If statements while in PRINT
by Zaxo (Archbishop) on Mar 14, 2002 at 03:01 UTC | |
Re: If statements while in PRINT
by webadept (Pilgrim) on Mar 14, 2002 at 03:02 UTC | |
Re: If statements while in PRINT
by Juerd (Abbot) on Mar 14, 2002 at 06:47 UTC | |
Re: If statements while in PRINT
by venimfrogtongue (Novice) on Mar 14, 2002 at 07:21 UTC | |
by hossman (Prior) on Mar 14, 2002 at 09:01 UTC | |
A reply falls below the community's threshold of quality. You may see it by logging in. |