afcbob
02 Aug 2005, 05:02 PM
Hello i am learning php just now and am using a training course to learn.But i have a problem am trying to use the && but can't get it to work.
This is the code it say to use:
if (($a > 100) && ($a <2000)) {
echo "number is greater than 100 but less than 2000";
}
i have tried moving the $a values up and down but just can't get this to work.
Please help me out.
if i don't get it soon i will have no hair left at al
This is the code it say to use:
if (($a > 100) && ($a <2000)) {
echo "number is greater than 100 but less than 2000";
}
i have tried moving the $a values up and down but just can't get this to work.
Please help me out.
if i don't get it soon i will have no hair left at al