slowride326 Posted July 26, 2011 Share Posted July 26, 2011 Parse error: syntax error, unexpected T_STRING in /home/policeex/public_html/mdc/login/include/database.php on line 24 23 /* Make connection to database */ 24 $this->connection = mysql_connect(DB_SERVER, DB_USER, DB_PASS) or die(mysql_error()); 25 mysql_select_db(DB_NAME, $this->connection) or die(mysql_error()); Quote Link to comment https://forums.phpfreaks.com/topic/242813-mysqlphp-error/ Share on other sites More sharing options...
Muddy_Funster Posted July 26, 2011 Share Posted July 26, 2011 1. use code tags when posting code 2. the offending line and the one before and after are very VERY rarely enough to diagnose the problem 3. 2 is perticularly true when the directly preceding line is commented out 4. generaly people include a form of question in their post.... Quote Link to comment https://forums.phpfreaks.com/topic/242813-mysqlphp-error/#findComment-1247177 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.