YESS, THAT'S THE TRUE ANSWER,
THANKS LAWRENCE SHEED
Lawrence Sheed wrote:
> ereg_replace or str_replace perhaps?
>
> eg
>
> $something= "this is a sentence";
>
> $something = ereg_replace (" ","+", $something);
>
> print $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 »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, please don't try to educate people with a RTFM. Your solution
> to the above problem is obviously wrong.
>
> -Egon
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]