Protecting mysql database from injection attacks with pdo script
问题 Recently, my database experienced an attack from mysql injections. I did not know about injections before this incident. However, I have been studying up on what it is and how to prevent it, but I cannot seem to get anything to work for this script when I try to add sql injection protection (it works fine on it's own). How could a pdo script like this add sql injection protection? <?php $username = $_GET["hits"]; $sq = "something"; $pu = $_GET["something"]; $jjj = "something"; $fff =