Joseph Koenig wrote:
INPUT TYPE ="text" blab blab VALUE = "Here's the text "in quotes""
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,
replace " with quot; 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.
INPUT TYPE ="text" blab blab VALUE = "Here's the text "in quotes""
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,
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 field, not
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:
INPUT TYPE ="text" blab blab VALUE = "Here's the text "in quotes""
Well, obviously there's a problem with that. The form field
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'ed
6 matches
Mail list logo