0

How to Connect MySql Database with Php5

How to Connect MySql Database with Php5

How to Connect MySql Database with Php5. In this Post I am going to share how you can connect mysql database with php programming language. I think this post is very helpful for those who has just started learning php. PHP 5 and later can work with a MySQL database using:MySQLi extension (the “i” stands for improved).

For Linux and Windows: The MySQLi extension is automatically installed in most cases, when php5 mysql package is installed. For installation details, go to:

http://php.net/manual/en/mysqli.installation.php

Open a Connection to MySQL(MySQLi Object-Oriented)

Open a Connection to MySQL(MySQLi Procedural)

Sandeep Kumar

Sandeep kumar is a web developer and a professinal blogger. He works for latest technologies and write articles what he learn. In ICodeHub he share web languages tutorials and other programming tips and tricks. if you need some help or have some suggestion then mail him at sandeep92pal@gmail.com without any hesitation. He believes in learning and sharing.