Re: basic php question...
| From: | Kaleb Pomeroy | Date: | Tue, 04 Nov 2008 19:45:40 +0000 |
| Subject: | Re: basic php question... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-282868@lists.php.net to get a copy of this message | ||
<?php
header("location: pagetogoto.php");
?>
There can be no output before this (even whitespace before open php tags)
Kaleb <><
On Nov 4, 2008, at 1:41 PM, bruce wrote:
and what's the best way to do the redirect ???? sample code would be cool! -----Original Message----- From: Micah Gersten [mailto:micah@onshore.com] Sent: Tuesday, November 04, 2008 11:33 AM 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. Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com bruce wrote:hi guys...foo i've got a button that i want to select, and i want the app to processsomelogic, 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 thoughts/sample php pages/psuedo code chunks... thanks-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php --PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php