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
you can try
printf('amount is %d',$row['item'] * $row['amount']);
reference