Monday, August 23, 2010

Data Base Connection in PHP

Just Copy the following and paste in the file where ever you want

Conn.php

$conn=mysql_connect("hostname","username","password");
?>

For Localhost



$conn=mysql_connect("localhost","root","");
?>

No comments:

Post a Comment