Mastering Development

Prevent from SQL Injection – PHP Mysqli [duplicate]

I want to improve my code from SQL Injection Attacks. But I have a small problem. I want on a Login page to prevent attacks. So my users need to enter their email and password. My password is md5 stored in DB. My db connection: <?php $con = mysqli_connect(“localhost”,”root”,””,”test”); ?> Code I want to improve […]