title: Display value of bindParam using PHP PDO
body: <p>Is there an easy way to echo the value stored in a bound parameter.</p>
  
  <pre><code>$sql ="call storedproc(:firstname, :lastname)";
  $stmt = $this-&gt;DBH-&gt;prepare($sql);
  $stmt-&gt;bindParam(':firstname', $fname);
  $stmt-&gt;bindParam(':lastname', $lname);
  
  //I want to do this
  echo $stmt-&gt;firstname;
  $stmt-&gt;execute;
  </code></pre>