On Tue, 14 Sep 2004 13:21:09 +0300, Niklas Lampén
<[EMAIL PROTECTED]> wrote:
> Urlencode() and urldecode() should help you out.
> 
> Niklas
> 
> 
> 
> 
> Sagar C Nannapaneni wrote:
> > Hi folks..
> >
> > I'm using a form to send data from one page to another.
> >
> > one of the input fields in the form has a quotation mark
> >
> > Ex.: samsung 15" monitor
> >
> > in the next page i cant get the text after the " symbol in the field.
> >
> > I've tried both GET and POST methods.
> >
> > what might b the problem
> >
> > /sagar
> >

I'd go for htmlentities($str, ENT_QUOTES); to encode and decode the
quotes, and other characters that are actually invalid to use in
normal html code... (

Later versions of php have a reverse function, called
html_entity_decode or smth)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to