title: Is it possible to use store_result() and bind_result() with PHP PDO?
body: <p>My question is fairly straightforward: Is it possible to use <code>store_result()</code> and <code>bind_result()</code> with PHP PDO?</p>
  
  <p>Here is some example code I came across:</p>
  
  <pre><code>$stmt = $mysqli-&gt;prepare("SELECT id, username, password, salt FROM members WHERE email = ? LIMIT 1")) { 
    $stmt-&gt;bind_param('s', $email); // Bind "$email" to parameter.
    $stmt-&gt;execute(); // Execute the prepared query.
    $stmt-&gt;store_result();
    $stmt-&gt;bind_result($user_id, $username, $db_password, $salt); // get variables from result.
    $stmt-&gt;fetch();
  </code></pre>
  
  <p>I have seen these used in the context of <code>mysqli</code>, but not with PHP PDO.  <code>store_result()</code> and <code>bind_result()</code> are referenced in mysqli on www.php.net.  I'm curious if they are valid, or if there are comparable methods. </p>
  
  <p>Edit: Obviously there is some translation between the two methods. My assumption is that  <code>store_result</code> and <code>bind_result()</code> are similar to PDO's <code>fetch()</code> commands. </p>