Re: [PHP] Hidden Input and Quotes?

2001-05-12 Thread Christian Reiniger
On Saturday 12 May 2001 04:20, Young Chi-Yeung Fan wrote: > If you have , then when you submit your form, > $HTTP_POST_VARS["data"] or $HTTP_GET_VARS["data"] will be: > > The word \"here\" is in quotes. > > So you can put the value straight into MySQL. The slashes will not show > up in MySQL. The

Re: [PHP] Hidden Input and Quotes?

2001-05-11 Thread Young Chi-Yeung Fan
Jason Caldwell wrote: > > The " will be translated back into " > > when your form is submitted. > > ?? I don't have to convert back?? -- when I eventually submit my Hidden > Input Fields into my mySQL DB, they'll be converted back to " ? > > Confused If you have , then when you submit your

Re: [PHP] Hidden Input and Quotes?

2001-05-11 Thread Jason Caldwell
> The " will be translated back into " > when your form is submitted. ?? I don't have to convert back?? -- when I eventually submit my Hidden Input Fields into my mySQL DB, they'll be converted back to " ? Confused "Young Chi-Yeung Fan" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECT

Re: [PHP] Hidden Input and Quotes?

2001-05-11 Thread Young Chi-Yeung Fan
Jason Caldwell wrote: > If I have a text box and enter data into that text box with "quotes" around > some of the text... and I want to throw that text into a HTML Hidden Input > Field (on my next screen for example) -- the quotes will somehow jackup or > truncate that text... because HTML uses "

Re: [PHP] Hidden Input and Quotes?

2001-05-11 Thread Sean Cazzell
> So my question is, should I (or, really, can I) encode it? My thinking is I > want to encode it with the htmlspecialchars() function... however, > eventually, all the data within the Hidden Input Boxes will be stored into > my mySQL database, so I'll want to decode it before I send it (restorin

[PHP] Hidden Input and Quotes?

2001-05-11 Thread Jason Caldwell
If I have a text box and enter data into that text box with "quotes" around some of the text... and I want to throw that text into a HTML Hidden Input Field (on my next screen for example) -- the quotes will somehow jackup or truncate that text... because HTML uses "quotes" within in the Hidden In