Tuesday, July 8, 2014

PHP Connect to the MySQL Database

Posted by Unknown  |  No comments

Open a Connection to the MySQL Database

After you can access data in your database, we must open a connection to the MySQL Database.

In PHP, this is done with the mysql_connect() function.

Example :


host = Type a host name or an IP address
username = Enter MySql User Name
Password = Enter Mysql Password

8:02 AM Share:
About Naveed Iqbal

Nulla sagittis convallis arcu. Sed sed nunc. Curabitur consequat. Quisque metus enim venenatis fermentum mollis. Duis vulputate elit in elit. Follow him on Google+.

0 comments:

Visitors Counter

Flag Counter

Recent Post

Popular Posts

Proudly Powered by Blogger.
back to top