Re: Replacing "+" with " " question

From: Date: Tue, 30 Sep 2003 18:12:52 +0000
Subject: Re: Replacing "+" with " " question
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-30777@lists.php.net to get a copy of this message
On Wednesday 01 October 2003 01:06, Graeme McLaren wrote: > This is what I have so far by the string replace function doesn't replace > the spaces and display bla bla bla as I want: Probably it's because you're trying to replace spaces with +. Swap your first 2 parameters. > $AddressLine1 = urlencode($AddressLine1); > $AddressLine1 = str_replace(" ", "+", $AddressLine1); -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-db ------------------------------------------ /* Surprise your boss. Get to work on time. */

« previous php.db (#30777) next »