On 7/7/2005, "captain_jims" <[EMAIL PROTECTED]> wrote: > > > > Move them in the background with hidden fields. Or you could roll > them all into one long value and use just one hidden field. Decrypt > that value on the final page. Your choice. > > Jim > > --- In [email protected], "balthork" <[EMAIL PROTECTED]> wrote: >> Does anybody know of an equivalent of getPageContext().forward() that >> will allow me to foward form variables to another page? >> >> For example, I want to post the form to itself for validation and then >> repopulate the form with the user's input if an error occurs. If it >> the form is okay, then I would like to forward all of the _POST >> variables to another page to do all of the db work. >> >> Thank you. >> >
Or, you could store them in session (_SESSION['varname']). Each method has advantages and drawbacks. The first time you attempt to use session vars, expect a learning curve. Over time, you'll wonder why you ever tried getting by without them. My current project needs to pass around potentially hundreds of values. I've developed objects to hold the data, and store the objects in session. Its working very well thus far. Mike Community email addresses: Post message: [email protected] Subscribe: [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] List owner: [EMAIL PROTECTED] Shortcut URL to this page: http://groups.yahoo.com/group/php-list Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-list/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
