title: Storing Form Data as a Session Variable
body: <p>So I was wondering if it would be possible to store data coming in from a form as a session variable. </p>
  
  <p>Heres what I have so far, but I don't know what to put for the Form Action.</p>
  
  <p>Thanks for looking!</p>
  
  <pre><code>&lt;strong&gt;Test Form&lt;/strong&gt;
  &lt;form action="" method"post"&gt;
      &lt;input type="text" name="picturenum"/&gt;
      &lt;input type="submit" name="Submit" value="Submit!" /&gt;
  &lt;/form&gt;
  
  &lt;? 
      if (isset($_POST['Submit'])) { 
          $_session['picturenum'] = $_POST['picturenum'];
      } 
  ?&gt; 
  
  &lt;strong&gt;&lt;? echo $_session['picturenum'];?&gt;&lt;/strong&gt;
  </code></pre>