39: Protect your database against SQL injection using MySQLi | PHP tutorial | Learn PHP programming

Published: 20 July 2017
on channel: Dani Krossing
190,126
2.8k

Learn to protect your database against SQL injection using MySQLi. Today we will learn how to protect our database from SQL injection using MySQLi. The MySQLi function is called mysqli_real_escape_string(), and helps escape any form text that the user passes on from the website, in case they try to inject code into our database.

In the next episode we will learn how to interact with our database using Prepared Statements, which is a preferred method of interacting with databases, since it is safer and in some cases faster.

➤ GET ACCESS TO MY LESSON MATERIAL HERE!

First of all, thank you for all the support you have given me!

I am really glad to have such an awesome community on my channel. It motivates me to continue creating and uploading content! So thank you!

I am now using Patreon to share improved and updated lesson material, and for a small fee you can access all the material. I have worked hard, and done my best to help you understand what I teach.

I hope you will find it helpful :)

Material for this lesson:   / lesson-material-42361704  


On this page of the site you can watch the video online 39: Protect your database against SQL injection using MySQLi | PHP tutorial | Learn PHP programming with a duration of hours minute second in good quality, which was uploaded by the user Dani Krossing 20 July 2017, share the link with friends and acquaintances, this video has already been watched 190,126 times on youtube and it was liked by 2.8 thousand viewers. Enjoy your viewing!