Re: [PHP] posted urls

2001-09-13 Thread Jason Brooke
> hi, > how can i change variables that has two or more words to variables that > has "+" instead of blanks in that variables. > Like this: "word1 word2 word3" => "word1+word2+word3" > > thanks http://www.php.net/manual/en/ref.url.php jason -- PHP General Mailing List (http://www.php

Re: [PHP] posted urls

2001-09-13 Thread nayco
$var=urlencode($var); may solve your problem. (°-Nayco, //\[EMAIL PROTECTED] v_/_ http://nayco.free.fr - Original Message - From: murat <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 13, 2001 1:34 PM Subject: [PHP] posted urls >

Re: [PHP] posted urls

2001-09-13 Thread Alexander Skwar
So sprach »murat« am 2001-09-13 um 14:34:31 +0300 : > how can i change variables that has two or more words to variables that > has "+" instead of blanks in that variables. > Like this: "word1 word2 word3" => "word1+word2+word3" $word1 . $word2 . $word3 Read the manual! Alexander Skwar -- H

Re: [PHP] posted urls

2001-09-13 Thread David Robley
On Fri, 14 Sep 2001 15:07, Alexander Skwar wrote: > So sprach »murat« am 2001-09-13 um 14:34:31 +0300 : > > how can i change variables that has two or more words to variables > > that has "+" instead of blanks in that variables. > > Like this: "word1 word2 word3" => "word1+word2+word3" > > $word1

Re: [PHP] posted urls

2001-09-13 Thread Egon Schmid
Alexander Skwar wrote: > > So sprach »murat« am 2001-09-13 um 14:34:31 +0300 : > > how can i change variables that has two or more words to variables that > > has "+" instead of blanks in that variables. > > Like this: "word1 word2 word3" => "word1+word2+word3" > > $word1 . $word2 . $word3 >

RE: [PHP] posted urls

2001-09-13 Thread Lawrence . Sheed
xander Skwar Cc: murat; [EMAIL PROTECTED] Subject: Re: [PHP] posted urls Alexander Skwar wrote: > > So sprach »murat« am 2001-09-13 um 14:34:31 +0300 : > > how can i change variables that has two or more words to variables that > > has "+" instead of blanks in that variables.

RE: [PHP] posted urls

2001-09-13 Thread Sterling Hughes
ough str_replace is faster and better... fyi, if you want to encode a string for a URL, use the urlencode() function. -Sterling > -Original Message- > From: Egon Schmid [mailto:[EMAIL PROTECTED]] > Sent: September 14, 2001 2:20 PM > To: Alexander Skwar > Cc:

Re: [PHP] posted urls

2001-09-13 Thread murat
something; > > -Original Message- > From: Egon Schmid [mailto:[EMAIL PROTECTED]] > Sent: September 14, 2001 2:20 PM > To: Alexander Skwar > Cc: murat; [EMAIL PROTECTED] > Subject: Re: [PHP] posted urls > > > Alexander Skwar wrote: > >>So sprach »mu

Re: [PHP] posted urls

2001-09-14 Thread Alexander Skwar
So sprach »Egon Schmid« am 2001-09-14 um 08:20:11 +0200 : > Alexander, please don't try to educate people with a RTFM. Your solution > to the above problem is obviously wrong. Yes, that's right. I misunderstood the question, sorry about that. Alexander Skwar -- How to quote: http://learn.to/