not able to get response with mysql_fetch_array() expects parameter 1 to be resource
<p>I have this <strong>error : Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/xgamming/public_html/list.php on line 149</strong></p>

<p>here is my code from <code>list.php</code> file at line no. 149 </p>

<pre><code>    while($row = mysql_fetch_array($result))    {
        echo "&lt;tr&gt;

        &lt;td&gt;{$count}&lt;/td&gt;
        &lt;td&gt;&lt;font \color=\"blue\"&gt;{$row['ip']}:{$row['port']}&lt;/b&gt;&lt;/font&gt;&lt;/td&gt;
        &lt;td&gt; {$row['drops']}&lt;/td&gt;
        &lt;td&gt;{$row['last']}&lt;/td&gt;
        &lt;td&gt;&lt;a href=\"http://www.gametracker.com/server_info/{$row['ip']}:{$row['port']}/\" target=\"_blank\"&gt;&lt;img src=\"http://cache.www.gametracker.com/server_info/{$row['ip']}:{$row['port']}/b_350_20_FFFFFF_FFFFFF_000000_000000.png\" border=\"0\" width=\"300\" height=\"20\" alt=\"\"/&gt;&lt;/a&gt;&lt;/td&gt;

        &lt;/tr&gt;";

       $count++;

     }

     echo "&lt;/table&gt;&lt;/font&gt;";
 ?&gt;

 &lt;/div&gt;
</code></pre>

<p>I have a MySQL database, empty, no table. How I can solve it? </p>
