RE: [PHP] basic php question...

From: Date: Tue, 04 Nov 2008 19:43:22 +0000
Subject: RE: [PHP] basic php question...
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-282867@lists.php.net to get a copy of this message
> -----Original Message----- > From: Micah Gersten [mailto:micah@onshore.com] > Sent: Tuesday, November 04, 2008 1:33 PM > To: bruce > Cc: php-general@lists.php.net > Subject: Re: [PHP] basic php question... > > Is anything changing on the page? If not, AJAX might be the way to go, > http://xajaxproject.org > Otherwise, pass the parameters you want to foo.php and have it redirect > to the proper page with the proper arguments. > Another alternative, is to store the parameters in the session and pass > them from foo.php without passing them to it. > > bruce wrote: > > hi guys...foo > > > > i've got a button that i want to select, and i want the app to > process some > > logic, and then return the user to the page. my question is how?? > > > > something like > > > > base page: > > > > <a href="foo.php">button link"</a> > > > > foo.php > > -process logic > > -return the user to the base page, with the same querystring that > > was initially used to generate the initial base page > > > > > > foo.php doesn't have any display function, just the logic If you're going to go with AJAX (involving Javascript), you may as well just use Javascript: <?php # processing goes here ?> <script type="text/javascript"> history.go(-1); </script> HTH, Todd Boyd Web Programmer

« previous php.general (#282867) next »