Re: header problems
| From: | Teodor Cimpoesu | Date: | Fri, 26 Jan 2001 20:10:54 +0000 |
| Subject: | Re: header problems | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-36859@lists.php.net to get a copy of this message | ||
Kurth Bemis wrote:
>
> when i put this
> header('location: $url');
>
> i get this
>
> http://domain.com/$url
>
> what the hell am i doing wrong?
>
erm,
header ("Location: $url");
[double quotes, so PHP will consider your dollars, yens or whatever]
--teodor