title: PDO::bindValue undefined
body: <p>I have problem with bind* functions in php</p>
  
  <p>my code is :</p>
  
  <pre><code>$this-&gt;db_conn = new PDO("mysql:host=$this-&gt;db_host;dbname=$this-&gt;db_name", $this-&gt;db_user, $this-&gt;db_pass);
  $this-&gt;db_conn -&gt; query ('SET NAMES utf8');
  $this-&gt;db_conn -&gt; query ('SET CHARACTER_SET utf8_unicode_ci');
  $this-&gt;db_conn -&gt; setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
  $this-&gt;db_conn -&gt; prepare('INSERT INTO `users` (`login`, `password`, `mail`) VALUES(:login,sha1(:password),:mail)');
  $this-&gt;db_conn -&gt; bindValue(':login', $login, PDO::PARAM_STR);
  $this-&gt;db_conn -&gt; bindValue(':password', $password, PDO::PARAM_STR);
  $this-&gt;db_conn -&gt; bindValue(':mail', $mail, PDO::PARAM_STR);
  $this-&gt;db_conn -&gt; execute();
  </code></pre>
  
  <p>error is:</p>
  
  <pre><code>Fatal error: Call to undefined method PDO::bindParam()
  </code></pre>
  
  <p>Can anybody give me advice?</p>