I'm using the POST method. Whew! I ran into a bucket of worms.
What I'm doing is using the urldecode() function to format the text when I SELECT it from the database and output the text on the page.
I tried to apply the urldecode() just before inserting the text into the database. The MySQL INSERT statement won't work.
Evidently it's the carriage return in the text that's causing the problem. The text input box is a multiple-line box. I'm having to use the urlencode() for the text from the multiple-line text inbox boxes.
The text string from the single-line text inbox boxes inserts into the database without the urlencode(). The only text that needs the urlencode() function is the text where there's carriage returns.