this is the code in my connection:
<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_online = "localhost";
$database_online = "comx";
$username_online = "root";
$password_online = "";
$online = mysql_connect($username_online, $password_online) or trigger_error(mysql_error(),E_USER_ERROR);
?>
i have already uploaded this one at zymic.com...however, whenever i try to run the pages online, it doesn't go through..i get the following error messages:
Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'root' (4) in /www/uuuq.com/c/o/m/comx-online/htdocs/Connections/online.php on line 9
Fatal error: Can't connect to MySQL server on 'root' (4) in /www/uuuq.com/c/o/m/comx-online/htdocs/Connections/online.php on line 9
i hope to get a reply soon...i need this badly..thanks!