So if I type this in the TextArea above and submit the Form…
An unrelenting and <b>record-setting heat wave</b> peaked this weekend, beating a broad swath of states into sweaty submission, with above-normal triple-digit temps stretching from St. Louis to Washington.
The searing heat withered crops in the fields, buckled roadways and caused a train derailment. At least 36 weather-related deaths have been reported since the temperatures first shot up 10 days ago.
…and then I access the command-line mysql client, shouldn’t I see this in the table…
An unrelenting and <b> record-setting heat wave </b> peaked this weekend, beating a broad swath of states into sweaty submission…
You are using htmlentities in the form, you should use it when you submit and process the form. Actually you should store the raw data and use htmlentities when you echo out the results.
It won’t happen that way, because the entities exist only in the HTML source, and HTML parsers interpret those entities as if they were the literal characters they represent, with the exception that they’ll always be treated as content and not an HTML special character.