I want to add a lot of text to my db with a textarea. When I type the text directly into the textarea everything goes fine, but when I copy-paste text from a text file into the textarea it sometimes just don't get added to the db. why is this and how can it be solved?
Thank you for reply's inadvance
Are there any ' in your text when you paste it into the textarea?....if so then you won't get an error....it just won't get added to the db.
scott d~
in the script that inserts it into the database just manipulate the text as so:
$correcttext = str_replace("'", "''", $textareavariable);
and then in the SQL insert, use $correcttext, it'll work then
Chris