warning in connection..help..
Posted: Wed Jul 08, 2009 9:54 am
i got this warning message:
Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL server host '�localhost�' (11004) in C:\[loc]\default.php on line 16
code here:
<?php
$user=”root”;
$host='http://localhost';
$password=””;
$connection = mysql_connect($host,$user,$password); //line 16
?>
what's the problem here?
Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL server host '�localhost�' (11004) in C:\[loc]\default.php on line 16
code here:
<?php
$user=”root”;
$host='http://localhost';
$password=””;
$connection = mysql_connect($host,$user,$password); //line 16
?>
what's the problem here?