title: PDO::execute() is an undefined method for me?
body: <p>Here is the PDO code in question:</p>
  
  <pre><code>$db-&gt;prepare("INSERT INTO user (id, name, password, salt, email, join_date, chats)
                VALUES (NULL, ?, ?, ?, ?, ?, ?)");
  $db-&gt;execute(array($name, $password, $salt, $email, $joindate, ''));
  </code></pre>
  
  <p>I get the fatal error: <code>Fatal error: Call to undefined method PDO::execute() in register.php on line 12</code>, line 12 being the execute above. What could be wrong? The array contains perfect strings, checked them with a print_r.</p>