* Setup PHP enviroment under window OS System
http://blog.naver.com/jjeowl?Redirect=Log&logNo=40025454157
After you setup
please test with under example php file
=== connectTest.php ====
$dbhost = "localhost";
$dbname = "test";
$dbuser = "root";
$dbpass = "1111";
$conn = @mysql_connect($dbhost,$dbuser,$dbpass);
if($conn)
{
if(!@mysql_select_db($dbname,$conn))
{
echo "DB Select Error!";
exit();
}else{
echo "Success connection !";
}
}
else
{
echo "DB Connection Error!";
exit();
}
?>
Thursday, 10 July 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment