> > <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,
> 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.

Chris

Reply via email to