title: PHP/MySQL query error?
body: <p>Page is here: <a href="http://www.arkmediainc.com/ark20test/ark20test/portfolio.php" rel="nofollow">http://www.arkmediainc.com/ark20test/ark20test/portfolio.php</a></p>
  
  <pre><code>$result = mysql_query(
      "SELECT * FROM foliobro WHERE itemid &gt;= ".$startid." LIMIT 9"
  );
  
  while($row = mysql_fetch_array($result))
  {
  
       $itemid = $row['itemid'];
       $thumb_desc = $row['thumb_desc'];
       $title = $row['title'];
       $category = $row['category'];
       ...
  }
  </code></pre>
  
  <p>I get this error code:</p>
  
  <pre><code>Warning: mysql_fetch_array() expects parameter 1 to be resource, 
  boolean given in /home/arkmedia/public_html/ark20test/ark20test/portfolio.php 
  on line 49
  </code></pre>
  
  <p>Line 49 is actually the <code>while($row = mysql_fetch_array($result))</code> line.</p>
  
  <p>I'm trying to get the following 9 results, either (id's go from 1-11, with future expansion) 1-9, or 10-11+
  What's wrong with my query, because I suspect that the query is not running properly.  The query was taken straight from phpMyAdmin, so I don't see why it doesn't work.</p>