This tutorial will show you how to connect to MySQL database from PHP script.
mysql_connect (host, username, password)
Returns a MySQL link identifier on success, or FALSE on failure.
<?php
$host="localhost";
$user="root";
$password="password";
$connect=mysql_connect($host, $user, $password);
?>
discuss this topic to forum
