You should use the urlencode() function.
See
http://www.php.net/manual/en/function.urlencode.php
--
Meir Kriheli
MKsoft computer systems
'There's someone in my head but it's not me" - Pink Floyd
----- Original Message -----
From: "Thomas Edison Jr." <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, March 04, 2001 2:20 PM
Subject: [PHP] NETSCAPE Screws QUERY STRING!!!!!!
> I'm passing variables in a query string to my php
> pages. The variables whose values contain spaces due
> to multiple words are being passed correctly to the
> Internet Explorer browser and are working perfectly
> there. However, they are not working at al in NETSCAPE
> browser. What should i do?
>
> The Internet Explorer converts the spaces in a query
> string into it's hexadecimal value of "%20"
> automatically, but netscape is not doing so. It's not
> reading the space and thus not displaying the page at
> all and giving the HTTP error 400.
>
> This the link i make :
> <a href="add_pro_over.php3?title=<? echo $title ?>">
>
> if $title contains "Project", it goes.
> But if it contains "Project One" ... it doesn't work
> in NETSCAPE.
>
> When on to the next page, this $title also has to be
> sent into the Database.
>
> what do i do?
>
> regards,
> T. Edison jr.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]