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/
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
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:
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.
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
>
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
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
$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]
> 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
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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional c
10 matches
Mail list logo