PDA

View Full Version : problem with "quotation marks" in PHP


fluxion
02-14-02, 13:28
hi!

I have a problem with mySQL database and PHP forms.
When inserting a string which includes quotation marks, it's written in the database, everything is OK.
But if the string which includes quotation marks is not acceptable (for example is too large) and is sent back, then the output form shows only part of the string, everything after a " is gone.
I've tried adding slashes, but that doesn't help :(

any help greatly appreciated!

dhcarter
07-22-02, 09:51
have you looked at addslashes and stripslashes?