title: Storing redirect URL for later use
body: <p>I'm trying to store the redirect URL for use a few pages later but I'm having trouble figuring out how to get it from one place to another.</p>
  
  <p>Usually I'd just pass a variable thru the URL, but since my redirect URL contains URL variables itself, this doesn't exactly work.</p>
  
  <p>To give you a better idea of what I'm trying to do, here's the structure.</p>
  
  <p><strong>PAGE 1:</strong> User can click a link to add content on <strong>PAGE 2</strong></p>
  
  <p><strong>PAGE 2:</strong> User enters text. Submitting the form on this page calls "formsubmit.php" where the MySQL data entries are handled. At the end of <em>this</em> I need to redirect the user to <strong>PAGE 1</strong> again. The redirect URL needs to exactly match what was originally on <strong>PAGE 1</strong></p>
  
  <p>Does anyone have any suggestions on how to go about this?</p>