PHP MYSQL Tutorial 1 | How to connect to MYSQL via PHP

preview_player
Показать описание

In this PHP tutorial I will demonstrate how to connect to a MYSQL database via PHP using MYSQLi. We are going to connect to MYSQL using the MYSQLi PHP class but this can also be achieved via procedural calls to the MYSQLi functions.

======== FOLLOW ME ========

Join the How to code well YouTube channel to get access to premium programming courses, tutorials and member perks
Рекомендации по теме
Комментарии
Автор

Hi Peter, What is the reasoning for using a constant in defining the connection parameters vs a variable. I have been using variables on my connect page for awhile. Just curious if one was better than the other.

Thanks.

emmamorris
Автор

Peter is PDO being deprecated or is there advantages of mysqli vs PDO?

stevebaker
join shbcf.ru