title: pdo binding asc/desc order dynamically
body: <p>Let's say I have 2 pdo statements that differ only in order (asc vs. desc)</p>
  
  <pre><code>$stmt1 = $po-&gt;prepare("SELECT * FROM tabname WHERE categ=:categ ORDER BY field1 DESC");
  $stmt2 = $po-&gt;prepare("SELECT * FROM tabname WHERE categ=:categ ORDER BY field1 ASC");
  </code></pre>
  
  <p>Is there a way I can bind ASC/DESC dynamically so I can have only 1 <code>stmt</code></p>
  
  <pre><code>$order = "ASC"; //or "DESC"
  
  $stmt = $po-&gt;prepare("SELECT * FROM tabname WHERE categ=:categ ORDER BY field1 order=:order");
  $stmt-&gt;bindParam(':order', $order, PDO::PARAM_STR);
  </code></pre>