* Thus wrote rogue ([EMAIL PROTECTED]):
>
> $redirect = "viewclient.php?id={$_REQUEST['id']}&foo=bar";
> header("Location: $redirect");
>
> Only, nothing happens when this code is executed. Nothing. It gets
> completely ignored.
>
> I even tried:
>
> $redirect = "viewclient.php?id={$_REQUEST['id']}&foo=bar";
> echo $redirect;
> header("Location: $redirect");
You're error_reporting is too low, set it to something like:
error_reporting(E_ALL);
before the header() call
Curt
--
If eval() is the answer, you're almost certainly asking the
wrong question. -- Rasmus Lerdorf, BDFL of PHP
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php