delz wrote:
Hi All,
How do I make calculations in php or mysql if the value has a comma like
2,000 + 32,000 = 34,000. I have a problem
calculating if one of my values has a comma. It doesn't display the right
output. I'll appreciate anyone who can
help me with this.
Thanks.
Delz.
Mobile No. (63) (919-xxx)
-Original Message-
From: delz [SMTP:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 1:50 PM
To: [EMAIL PROTECTED]
Subject:Re: Math Computations
Hi All,
How do I make calculations
-
From: Adam Alkins [EMAIL PROTECTED]
To: delz [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, April 11, 2002 5:44 PM
Subject: Re: Math Computations
Something like
?
$db = mysql_connect(localhost,database_user,password);
mysql_select_db (database_name);
$query = SELECT * FROM
To: [EMAIL PROTECTED]
Subject:Re: Math Computations
Hi All,
How do I make calculations in php or mysql if the value has a comma
like
2,000 + 32,000 = 34,000. I have a problem
calculating if one of my values has a comma. It doesn't
Hi,
I have this table that looks like this
Computers | Department | Price per PC | TotalAmount |
15 | Marketing | $500.00| |
5 | Purchasing | $ 300.00 | |
I want this table to display the total price wherein
: Thursday, April 11, 2002 5:29 AM
Subject: Math Computations
Hi,
I have this table that looks like this
Computers | Department | Price per PC | TotalAmount |
15 | Marketing | $500.00| |
5 | Purchasing | $ 300.00
PM
Subject: Re: Math Computations
Something like
?
$db = mysql_connect(localhost,database_user,password);
mysql_select_db (database_name);
$query = SELECT * FROM table_name;
$result = mysql_query($query);
echo Computers | Department | Price Per PC | Total Amountbr;
while ($row