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
In reply to If statements while in PRINT by venimfrogtongue
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |