Quick Fix

need help making my PHP / MY SQL out put as US currency.
actual script is below.

$query = “SELECT entity_id, SUM(grand_total) FROM sales_flat_order”;

$result = mysql_query($query) or die(mysql_error());

// Print out result

while($row = mysql_fetch_array($result)){

echo ‘‘.$row[‘SUM(grand_total)’].’‘;

Leave a Reply

Your email address will not be published. Required fields are marked *