Bonesnap;11004855 wrote:I would recommend storing the data "raw" in the database and only filtering it when displaying it. In other words, why are quotes being stored as entities?
For security.
This is my 1st attempt at adding security and I can tell you I am so confused by all the different information I am getting.
I am attempting to filter the data going into my DB with
filter_var($_POST["tv_shows"], FILTER_SANITIZE_STRING, FILTER_FLAG_STRIP_HIGH);
And then escaping output.
Reading "PHP Security", plus a few other have told me to do so. However, am I on the right :queasy: I don't know.
I have also converted to $mysqli