> -----Original Message----- > From: Micah Gersten [mailto:micah@xxxxxxxxxxx] > Sent: Tuesday, November 04, 2008 1:33 PM > To: bruce > Cc: php-general@xxxxxxxxxxxxx > Subject: Re: 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php