Hi all,

I am trying to figure out a way to calculate a value based on another value
and then set that value in a session variable.

So, if $session_ValueA <= $100          set $session_fee = $10
Or
If $session_ValueA >$100 and < $499     set $session_fee=$20
Or
If $session_VAlueA >$499 and <$999      set $session_fee=$50

Or something like this., I have to evaluate $session_ValueA to 6 possible
values.

Once this is done, I also would like to be able to calculate a % of
Session_ValueA 
As commissionâ I tried to use If, Else but canât seem to get it right.. 

Any suggestions?? Thanks

Aleks 
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to