title: Pass PHP session variable into HTML form
body: <p>I have session variables that are posted from a form on another php page, and I can echo them by using:</p>
  
  <pre><code>&lt;?php $_SESSION['newsletterSignup'] = $_POST['newsletterSignup'];
  echo "Email = ". $_SESSION['newsletterSignup'];
  ?&gt; 
  </code></pre>
  
  <p>But I can't seem to insert these into a HTML form field:</p>
  
  <pre><code>&lt;input type="text" name="email" id="email" size="36" "value="&lt;?php echo $_SESSION['newsletterSignup'];?&gt;" class="text-input" onBlur="emailval()" /&gt;
  </code></pre>