RE: [PHP] math query
do an ereg_replace("[^0-9]","",$var) before the calculation, to remove all non-numeric characters. kirk > -Original Message- > From: Peter Houchin [mailto:[EMAIL PROTECTED]] > Sent: Monday, March 19, 2001 4:13 AM > To: Php-General@Lists. Php. Net > Sub
[PHP] math query
hiya, is there a way to get php to know that $200,000 = $20 as if you do a calculation with it $200,000 it only uses the things befor the comma .. Peter Houchin [EMAIL PROTECTED] = _ __ /\ /_/