> i,m new in this confference

I think your looking for [EMAIL PROTECTED]

> can u help me with small problem? i,m looking 4 function which checking
> pair int. number true/false (1=false, 2=true, 3=flase, 4=true, etc.)

Seen as this is a quick one ... I think your looking to see if a number is
odd or even... for this you will probably want to check the modulus from
2.

EG: if ($var % 2) { echo "Odd!"; } else { echo "Even!"; }
or a more compact version ... echo ($var%2) ? "Odd!" : "Even!";


-- 
Dan Hardiker [[EMAIL PROTECTED]]
ADAM Software & Systems Engineer
First Creative Ltd



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to