A PHP database connection is a critical component for a web site. This topic will discuss the basics of setting up a database connection and how to connect to it from within your PHP scripts.
Create a connection.
Perform database query.
Use return data.
Connect to MySQL with PHP. Using the MySQLi extension, PHP 5 and later can work with a MySQL database (the "i" stands for improved) PDO (Product Development Organization) (PHP Data Objects)
PDO (PHP Data Objects) is a PHP extension that acts as a database connection interface. It can do any database function and is not limited to MySQL, unlike MySQLi. It is more general than MySQL and enables for database flexibility. Prepared statements are supported by PDO on both the server and client sides.
good for all youtuper.
VAISHNAVI RAJESH CHALKE
Lover you method of teahing. Every topic explained on very detail. Thank you
Explaining each and every concept very deeply
Aap log mushkil cheezo ko kitni asaani se samjha dete hain , great
Share a personalized message with your friends.