Maybe you want to use "urlencode()"?!
hth,
Bastian
Alex Francis schrieb:
> I have the following code in my page as a header.
> <?
> if ($mainarea=="Language")
> {
> header("Location:add_5-14_material.php?mainarea=$mainarea");
> }
> else
> {
> }
> ?>
> When I echo $mainarea I get \'Language\'. I think it is something to do
> with my quotation marks but need some help.
>
> How do I get rid of the ' and \ so that I am left with my variable?.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php