Re: escape character in query string

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Joaquin,

use the urlencode function to "escape" the special characters.
After, use urldecode to get the string back to normal.

Regards,

Thiago Melo de Paula

On Sun, Jun 22, 2008 at 11:34 PM, joaquinbordado <ryangacusana@xxxxxxxxx>
wrote:

>
> would someone happen to know the escape character for query string?
>
> here is my querysting my.php?message=Hello%PHP%0AHow%was%your%day?
>
>
> the output should be
>
> Hello PHP
>      How was your day?
>
> --
> View this message in context:
> http://www.nabble.com/escape-character-in-query-string-tp18061596p18061596.html
> Sent from the PHP - General mailing list archive at Nabble.com.
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux