At 14:46 25.01.2001, Ben Cairns said:
--------------------[snip]--------------------
>if ($answer == 0) { ?> 0 <? }; ?>
>if ($answer >0 but <=20) { ?> more than 0 but less than or equal to 20 <? };
--------------------[snip]--------------------
this should do:
<?
if ($answer == 0)
print "0";
elseif ($answer > 0 and $answer <= 20)
print "more than 0 but less than or equal to 20";
else
print "below 0 or above 20";
?>
...ebird
>O Ernest E. Vogelsinger
(\) http://www.1-at-web.at/
^ ICQ# 13394035
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]