Re: replacing space with "+"

From: Date: Sat, 19 Aug 2000 11:42:32 +0000
Subject: Re: replacing space with "+"
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-12584@lists.php.net to get a copy of this message
urlencode($str); This encodes a string so that it is appropriate for a URL, which includes replacing spaces with '+'. Dean. ----- Original Message ----- From: "Thomas Edison Jr." <thomasedisonjr@yahoo.com> To: "Lars Torben Wilson" <torben@pinc.com> Cc: <php-general@lists.php.net> Sent: Saturday, August 19, 2000 6.36 am Subject: [PHP] replacing space with "+" > How do you replace a space in a variable with a + > symbol? We have our search engine in which the > 'keywords' variable contains words with spaces which > need to have the '+' symbol between them instead of > the spaces. > > Thanx, > T. Edison jr. > > PS : Lars, thanx for the help, it worked! > > ===== > Rahul S. Johari (Director) > ****************************************** > Abraxas Technologies Inc. > Homepage : http://www.abraxastech.com > Email : abraxastech@yahoo.com > Tel : 91-4546512/4522124 > ******************************************* > > __________________________________________________ > Do You Yahoo!? > Send instant messages & get email alerts with Yahoo! Messenger. > http://im.yahoo.com/ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#12584) next »