Re: escape character in query string

From: Date: Thu, 26 Jun 2008 11:28:20 +0000
Subject: Re: escape character in query string
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-275973@lists.php.net to get a copy of this message
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@gmail.com> 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 >

« previous php.general (#275973) next »