$link = mysql_connect('tlconsultoria.com.br', 'tl', '') or die('Could not connect: ' . mysql_error()); mysql_select_db('tlconsul_intranet') or die('Could not select database');