Connect MySql Database Using PHP
Connect MySql Database Using PHP
For design a dynamic website need to be connect databases connection.here i will configure & test database connection using PHP.
Consider the following text
HOSTNAME:Your databases Host Name.
DATABASE Name:Your database hostname.
USER NAME:Databases User Name.
Password:Databases Password.
Example:
Source Code:
<!–?php mysql_connect(“localhost”, “root”, “”) or die(mysql_error()); echo “Connected to…
View On WordPress













