Hi all, I'm trying to write a mysql_query containing two SUMs, though I can't seem to get it to work. I'm sure it's something very simple. Any help and advice would be greatly appreciated. Cheers guys

PHP Code:
$query mysql_query("SELECT SUM(sub_total) AS 'block', SUM(vat) AS 'vat' FROM order_products WHERE receipt_id='$_GET[ref]'");
        
$query mysql_fetch_array($query);