i try this code
<html>
<head>
<title>MySQL Connection Test</title>
</head>
<body>
<h2>
<?php $connection = mysql_connect( "localhost", "root", "" )
or die( "Sorry - unable to connect to MySQL" );
echo( "Congratulations - you connected to MySQL" );
?>
</h2>
</body>
</html>
and i get an error
Fatal error: Call to undefined function mysql_connect() in c:\Apache\htdocs\mysqltest.php on line 11