title: mysql create table using array for field names
body: <p>I am trying to create a table using an array for the column names.
  the number of columns will vary in the table from 2 to 200 but all columns will be named such as field1 field 2 and so on.
  Is what I am trying to do possible because I have not been able to find any examples of such anywhere.</p>
  
  <p>the php would look something like below.</p>
  
  <pre><code>$field = array();
  While($i&lt;=$numberOfentries){
  $field[$i]=$entry[$i];
  $i++
  }
  </code></pre>
  
  <p>$sql = "(CREATE TABLE '$table' 
       implode($field) <em>this is where I am stuck</em></p>
  
  <p>all column types will be int  2 digits</p>