Currently I have this:

if($quant > $amount) {echo "You don't have that many!"; }

$quant is the user inputted amount and $amount is the amount that they
actually have. Is there any way of checking if the result is negative rather
than doing what I have above?

--
Dave W

Reply via email to