title: MySQLi query to MySQL query
body: <p>I am trying do multi-driver support for my Framework, which basically means I can use MySQL, MySQLi or PDO(MySQL) with ease.</p>
  
  <p>So, let's say I have an array of values I want to insert.</p>
  
  <pre><code>array('Manuel', 'StackOverflow');
  </code></pre>
  
  <p>and I have this query..</p>
  
  <pre><code>mysql_query("INSERT INTO users(name, fav_site) VALUES(?, ?)");
  </code></pre>
  
  <p>So, I'd like to replace the question marks with those values in order, so Manuel goes first and then goes StackOverflow. Remembering that I need to add -> ' &lt;- at the sides of these values so MySQL doesn't throw an error.</p>
  
  <p>I have tried searching if someone has asked this and had no luck.</p>
  
  <p>Any help is appreciated!</p>
  
  <p>NOTE: I know I shouldn't even bother with MySQL, but hey! A feature is a feature. </p>