Jump to content

help with function.mysql-connect


xxreenaxx1

Recommended Posts

This is the error message.

"Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\xampp\htdocs\makequestionpapers.php on line 11

"

 

 

$db_connect = mysql_connect($datahost,$datauser,$datapasswd);
$base_selection = mysql_select_db($base,$db_connect);

 

this is my connection link

 

<?


$datahost = "localhost";
$datauser = "root";
$datapasswd = "";
$base = "online";





?>

Link to comment
https://forums.phpfreaks.com/topic/223991-help-with-functionmysql-connect/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.