3raser Posted June 14, 2010 Share Posted June 14, 2010 mysql_connect('$dbhost', '$dbuser', '$dbpasswd'); mysql_select_db($dbname); Why isn't that connecting to the database? All details are right. Link to comment https://forums.phpfreaks.com/topic/204705-doesnt-connect-to-database/ Share on other sites More sharing options...
JasonLewis Posted June 14, 2010 Share Posted June 14, 2010 Not throwing errors at you? Remove the single quotes from around the variables in mysql_connect(). Link to comment https://forums.phpfreaks.com/topic/204705-doesnt-connect-to-database/#findComment-1071699 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.