Hi every one
I am new to php and trying to connect PHP and MySQL
my code is as below
<html>
<body>
<?php
$My_con= mysql_connect('localhost');
echo $My_con
?>
</body>
</html>
but this error occurd
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\Program Files\EasyPHP 3.0\www\samplephp\statsql.php on line 4
thnx in advance