Webocreation

Sunday, August 9, 2009

connection to database

<?php

$host = "localhost";

$user = "root";

$pass = "";

$conn = mysql_connect($host, $user, $pass);

$db=mysql_select_db('colors2web') or die(mysql_error());

?>

No comments:

Post a Comment