title: SELECT * FROM in MySQLi
body: <p>My site is rather extensive, and I just recently made the switch to PHP5 (call me a late bloomer).</p>
  
  <p>All of my MySQL query's before were built as such:</p>
  
  <pre><code>"SELECT * FROM tablename WHERE field1 = 'value' &amp;&amp; field2 = 'value2'";
  </code></pre>
  
  <p>This made it very easy, simple and friendly.</p>
  
  <p>I am now trying to make the switch to mysqli for obvious security reasons, and I am having a hard time figuring out how to implement the same <code>SELECT * FROM</code> queries when the <code>bind_param</code> requires specific arguments.</p>
  
  <p>Is this statement a thing of the past?</p>
  
  <p>If it is, how do I handle a query with tons of columns involved? Do I really need to type them all out every time?</p>