I have one while loop which displays data from the database. Now I want multiply two values in one row and display the result in the same row, the same way multiply the values
Change the query as
$result= mysql_query("Select id, item, amount, (item * amount)  total
 from table_name");
then in while loop
while($row = mysql_fetch_array($result))
    {
       echo "";
       echo "" . $row['id'] . " ";
       echo "" . $row['item'] . " ";
       echo "" . $row['amount'] . " ";
       echo "" .($row['total']  " ";
       echo " ";
     }