$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


> 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 commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>


-- 
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]

Reply via email to