I created database on localhost, wrote some pup code. When I run localhost I get the error
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in:
This is php code:
<?php
    require('connect_review.php');
    $query=mysql_query("SELECT * FROM reviews ORDER BY id DESC");
 while($rows=mysql_fetch_assoc($query))
     {
         $id=$rows['idname'];
         $dname=$rows['iname'];
         $dcomment=$rows['icomment'];
         echo '<font color="#02AAFC">Added:</font>  ' . $dname . '<br />' .  $dcomment . ' ' . ' ' .
          ' ' . ' ' . '<br />' . '<br />' ;
    }
    ?>
This is result:

 
     
    