Re: Having issues with the sum() function
hi....
mysql_query command only return the result as the array form. so u have to get the result by fetching the array using mysql_fetch_row command.
u retriving the result using by column name.
example
while($myrow = mysql_fetch_row($res))
{
$sum =$myrow[0];
//here you get the each coloumn sum value.
}
i hope it's useful for you/
thankyou with regards
shanmuga
Subject
Written By
Posted
February 21, 2005 11:53PM
February 23, 2005 07:47AM
Re: Having issues with the sum() function
February 23, 2005 11:35PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.