Hi again, sorry for the delay for blogging code especially in this very lovely language. PHP.. So every beginner in php want to know how he can connect to a mysql server and retrieve data from the database and present it in his webpage. In this lesson I will present the first portion of this .. HOW to connect to the database. Before you copy the code.. you have to know that the code below needs to have some changes before that can work correctly.. So you have to change the values of the variables (connection parameters: servername, databasename, user, password).. After running the script you will got a message saying that the connection has been attempted.. If you got anything else, then you have an error somewhere. If you need my help, comment out here. And I will help soon.. //this code is presented by Developpers Blog.. Http://developpers.blogspot.com //it's this very simple way to connect to a database //all what you need is to change the variables values with correct val...