Re: Keeping POST values when paging

From: Date: Tue, 08 Jul 2008 16:04:21 +0000
Subject: Re: Keeping POST values when paging
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-276442@lists.php.net to get a copy of this message
On Tue, Jul 8, 2008 at 12:00 PM, Robert Cummings <robert@interjinn.com> wrote: > On Tue, 2008-07-08 at 11:57 -0400, Eric Butera wrote: >> On Tue, Jul 8, 2008 at 11:33 AM, Robert Cummings <robert@interjinn.com> wrote: >> > >> > Just a comment... the submit button/session technique sucks with respect >> > to passing along links to people. I would suggest scrapping that >> > approach and going with a GET approach (where the navigational >> > information is present in the URL). I know my clients almost always want >> > to be able to paste a URL into an email and have the recipient go >> > directly to whatever they are viewing. Maybe that's not an issue for you >> > though... yet ;) >> >> That isn't practical if your form has 50 fields though. > > I haven't been following the thread very closely... does he have 50 > fields? > > Cheers, > Rob. > -- > http://www.interjinn.com > Application and Templating Framework for PHP > > I figured as much. :) He originally wrote: "I have coded a PHP site on an intranet which forms a MySQL query based on multiple inputs on a large form. The form results are POSTed back to itself, and query is formed, and the results are returned from the database and echoed."

« previous php.general (#276442) next »