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 in 
database.
Addslashes should be used before saving to database, though.

regards
Wagner

-- 
"A conference is a gathering of important people who singly can do 
nothing, but together can decide that nothing can be done."
Fred Allen (1894-1956)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to