xxreenaxx1 Posted January 10, 2011 Share Posted January 10, 2011 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 More sharing options...
Pikachu2000 Posted January 10, 2011 Share Posted January 10, 2011 Change the short open <? tags to full syntax <?php tags and see if that makes a difference. Link to comment https://forums.phpfreaks.com/topic/223991-help-with-functionmysql-connect/#findComment-1157508 Share on other sites More sharing options...
xxreenaxx1 Posted January 10, 2011 Author Share Posted January 10, 2011 you are awesomeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee Thank you sooooooooooooo mcuh Link to comment https://forums.phpfreaks.com/topic/223991-help-with-functionmysql-connect/#findComment-1157513 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.