Less Than x but greater than y

From: Date: Thu, 25 Jan 2001 13:46:57 +0000
Subject: Less Than x but greater than y
Groups: php.windows 
Request: Send a blank email to php-windows+get-5206@lists.php.net to get a copy of this message
I am writing a script that adds a collection of variables and then does something depending on the answer.... Basically, I need the syntax for this: <? if ($answer == 0) { ?> 0 <? }; ?> if ($answer >0 but <=20) { ?> more than 0 but less than or equal to 20 <? }; ?> But, that doesn't seem to work, Can anyone help me with the syntax? -- Ben Cairns - Head Of Technical Operations intasept.COM Tel: 01332 365333 Fax: 01332 346010 E-Mail: BenC@intasept.com Web: http://www.intasept.com "MAKING sense of the INFORMATION TECHNOLOGY age @ WORK......"

« previous php.windows (#5206) next »