title: PDO bindParam into one statement?
body: <p>Is there a way I can put these bindParam statements into one statement?</p>
  
  <pre><code>$q = $dbc -&gt; prepare("INSERT INTO accounts (username, email, password) VALUES (:username, :email, :password)");
  $q -&gt; bindParam(':username', $_POST['username']);
  $q -&gt; bindParam(':email', $_POST['email']);
  $q -&gt; bindParam(':password', $_POST['password']);
  $q -&gt; execute();
  </code></pre>
  
  <p>I was using mysqli prepared before where it was possible, I switched to PDO for assoc_array support. On the php.net website for PDO it shows them on seperate lines, and in all examples I have seen it is on seperate lines.</p>
  
  <p>Is it possible?</p>