typo3 open database connection


/ Published in: R
Save to your folder(s)



Copy this code and paste it in your HTML
  1. $connection = mysql_connect(TYPO3_db_host, TYPO3_db_username, TYPO3_db_password) or die ('cannot reach database');
  2. $db = mysql_select_db(TYPO3_db) or die ("this is not a valid database");

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.