Re: [PHP] This should be simple...

2001-04-20 Thread Plutarck
RTFM ...there, feel better now? *always happy to help* :) -- Plutarck Should be working on something... ...but forgot what it was. "Joseph Koenig" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Right on. That did it. I probably should have been RTFM'e

Re: [PHP] This should be simple...

2001-04-20 Thread Joseph Koenig
Right on. That did it. I probably should have been RTFM'ed for that one :) I knew there was a simple solution. Joe Alexander Wagner wrote: > > Joseph Koenig wrote: > > > > Well, obviously there's a problem with that. The form field will show > > "Here's the text " and then thinks it ends. Is t

Re: [PHP] This should be simple...

2001-04-20 Thread Alexander Wagner
Boget, Chris wrote: > > http://php.net/htmlentities > > Or, even better, just use addslashes(); > > $query = "INSERT INTO table VALUES = ( " . addslashes( $formField ) . > " )"; > > That way the quotes will remain in the value to display. This isn't the Problem. The string was cut in the input fi

RE: [PHP] This should be simple...

2001-04-20 Thread Boget, Chris
> > > > Well, obviously there's a problem with that. The form field will show > > "Here's the text " and then thinks it ends. Is there any way to get > > around this, other than stripping out her quotes? Thanks, > http://php.net/htmlentities Or, even better, just use addslashes(); $query = "INS

Re: [PHP] This should be simple...

2001-04-20 Thread Morgan Curley
replace " with " before using it as an initial form value. works in IE I am not sure if netscape interprets these codes in form fields though morgan At 09:57 AM 4/20/2001, Joseph Koenig wrote: >I have a client who insists on being able to put quotes into one of the >fields of the database. Tha

Re: [PHP] This should be simple...

2001-04-20 Thread Alexander Wagner
Joseph Koenig wrote: > > Well, obviously there's a problem with that. The form field will show > "Here's the text " and then thinks it ends. Is there any way to get > around this, other than stripping out her quotes? Thanks, http://php.net/htmlentities regards Wagner -- "A conference is a gat

[PHP] This should be simple...

2001-04-20 Thread Joseph Koenig
I have a client who insists on being able to put quotes into one of the fields of the database. That's fine with me, however, when editing records, anything in the quotes won't show up on the admin page. Essentially what happens is this: Well, obviously there's a problem with that. The form field