RE: [PHP-DEV] %20 IE vs Netscape, insert into location problem
| From: | Chris Newbill | Date: | Mon, 05 Mar 2001 01:50:24 +0000 |
| Subject: | RE: [PHP-DEV] %20 IE vs Netscape, insert into location problem | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-47939@lists.php.net to get a copy of this message | ||
http://www.php.net/manual/en/function.urlencode.php
-Chris
)> -----Original Message-----
)> From: Trevor Garrett [mailto:trevor.garrett@cpa.state.tx.us]
)> Sent: Sunday, 04 March, 2001 6-41 pM
)> To: php-dev@lists.php.net
)> Subject: [PHP-DEV] %20 IE vs Netscape, insert into location problem
)>
)>
)> I have a page of a list of names from a database and have the following
)> code so I can click on a name to view detail for that name:
)> echo "<a
href=\"name.php3?namee=$Results2[name]\">$Results2[name]</a>";
)>
)> after clicking on the name, the following showing in the location in IE:
)>
)> http://www.domainname.com/name.php3?name=FIRST%20LAST%20
)>
)> which yields the proper information based upon the variable ?name,
)> however when using Netscape it yields the following:
)>
)> http://www.domainname.com/name.php3?name=FIRST
LAST
)>
)> instead of the unix for a space as %20, Netscape is leaving it as a
)> space thus screwing up my search and yielding no results.
)>
)> Is there anything I can do to overcome this for Netscape viewers?
)>
)> Thanks,
)> Trevor
)>
)>
)> --
)> PHP Development Mailing List <http://www.php.net/>
)> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
)> For additional commands, e-mail: php-dev-help@lists.php.net
)> To contact the list administrators, e-mail: php-list-admin@lists.php.net
)>