Guys I need help! 

I think I am on the right track with my logic but my code fails.
 Can someone help?  (my coding is weak no formal training).

Thanks,
Frank

 
$TotalString = "$total";
function Price($total)
{
 if "$total" <= "24" then "$total" * "3200"
 else 
 if "$total" >= "25" and  "$total" <= "49" then "$total" *
"3000"
 else 
 if "$total" >= "50" and  "$total" <= "99" then "$total" *
"2900"
 else
 if "$total" >= "100" then "$total" * "2700"
 return "$Price";
 }
 echo "$Price";



__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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

Reply via email to