Hi I keep getting Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in and dont know how to fix.
I have 1 table and need to display two colums awnser here is the code can any one olease point me in the right direction.
<?php
$result = mysql_query("SELECT contact_financial_invoiceamount-contact_financial_payment AS outstanding FROM contacts WHERE contact_id = ".$_GET['id']."");
while($row = mysql_fetch_row($result)
echo $row['outstanding'];
?>