title: Unique ID for individual users linked to form
body: <p>I am trying to create a multi-user site that will allow users to add information that won't be viewable by anyone else but that user.  I have a <code>userid</code> field in db table 'users' that will auto-generate the userid, and I need that <code>userid</code> associated with the information that is being posted and that <code>userid</code> will also need to be used when retrieving and viewing that information.</p>
  
  <p>Please help, clearly I'm new at this.</p>
  
  <p>-- RESOLVED! --</p>
  
  <p>Since many of you aided in helping BAN me from this site, please review the code that I have done my <em>own</em> research on and got to work. In fact, this method was the SIMPLEST one that I found. After using $_SESSION['myusername'] to set and retrieve the username from the login screen, in order to insert the username into the clients or payments db table this was what I used:</p>
  
  <pre><code> &lt;input type="hidden" id="&lt;? echo $_SESSION['username'] ; ?&gt;"&gt;
  </code></pre>
  
  <p>BAM! Carries it over and it acts as a line in the form INSERTS it like the other form field data.</p>