Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\websiteku\modul\laporan\laporan.php on line 48
$query2 = "SELECT count(*) as jum1 FROM transaksi WHERE nama_kategori = '$namaBidang' AND nama_bayar = Uang";
$hasil2 = mysql_query($query2);
$data3 = mysql_fetch_array($hasil2);
$jumGol1 = $data3['jum1'];
help me guys, how i fix this problem ??