I'm trying to select a column from a table named say, 1234. 
      $query="select Number from `$table`";
      $contacts=mysql_query($query);
      while($row=mysql_fetch_array($contacts))
         echo $row['Number'];
If I use "select Number from 1234", it works. The value for $table is got using $_REQUEST["key0"]. I call the page as "localhost/page_id=22?key0=1234" What's the problem? I get the following error at mysql_fetch_array statement : Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\wamp\www\wp-content\plugins\exec-php\includes\runtime.php(42) 
 
     
     
     
     
     
     
    