37: How to show database data on a website using MySQLi | PHP tutorial | Learn PHP programming
How do you show database data on a website using PHP – PHP tutorial. Today we are going to learn how to get data from a database using PHP.
Regarding people asking why we are not using PDO:
In PHP there exists two methods of programming, which are
“Procedural programming (PP)” and “Object oriented programming (OOP)”. In this PHP course we are using PP, and not OOP.
When using PP, it is possible to use MySQLi and Prepared statements. And when using OOP it is possible to use MySQLi, Prepared statements, and PDO. Therefore we cannot use PDO in these lessons here.
HOWEVER, in a few episodes I will show how to get and insert data into a database using prepared statements 🙂
➤ 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: https://www.patreon.com/posts/php-37-download-15651138
source