title: POST Data Without Form
body: <p>Basically I have a bunch of data I get from a database and put onto my page in a table.  Right now I have the user type in the name, session, etc. in the table and that is sent as post data into the next PHP page, which I then use to lookup more stuff in the DB and so on and so forth.</p>
  
  <p>Obviously that's not a great user experience; it would be much easier to simply CLICK the item in the table and everything gets sent automatically into the next page.</p>
  
  <p>I'm not sure how I'd go about doing this.</p>
  
  <p>My tables are first and last names for now, so if you click a certain row it should go to the next page sending each cell as data.</p>
  
  <p>EDIT: Some examples:</p>
  
  <p>Traditionally you do this with a form</p>
  
  <pre><code> &lt;form method="post" action="pageDataIsGoingTo.php"&gt;
  </code></pre>
  
  <p>to send data to the next page.  However, I don't want to do this with a form; but rather when they click a URL and/or button that sends the data.  I can "hide" the data from view I suppose, but I still don't know the function to actually go ahead and do that.</p>
  
  <p>Would I make a javascript button/function that sets something in an invisible form?</p>