I try to Solve this error.please help any body.
$select2=mysql_query("select * from receive_payment_maste where comp_id = '$comp_id' ORDER BY receive_date DESC");
while($row1=mysql_fetch_array($select2))
The error in mysql_fetch_arry($select2)
the error is "mysql_fetch_array() expects parameter 1 to be resource, boolean given in. error in php";"