title: dreamweaver CS5 recordset not filtering on $_SESSION variable
body: <p>I'm trying to filter records base on a $_SESSION Variable.
  I have a simple form that posts the user name and password to a results.php page which contains:</p>
  
  <pre><code> &lt;?php
   session_start ();
   $_SESSION['username'] = $_POST['user_name'];
   echo $_SESSION['username'];
  
  
   ?&gt;
  </code></pre>
  
  <p>This works ok and echos the user name on the page:</p>
  
  <p>I then want to filter a record set and return the user_id based the $_SESSION['username'];</p>
  
  <p>I have a recordset filter setup (see attached) but it will not return any records - test says no data...</p>
  
  <p><img src="https://i.stack.imgur.com/GRsBM.jpg" alt="enter image description here"></p>
  
  <p>I have printed the statement which says SELECT user_id FROM <code>user</code> WHERE user_name = '-1' so its not picking up the Session variable - I have been working on this for sometime and cant solve the problem - any ideas where I'm going wrong.</p>