1 2 3 4
<?php $dbh = mysql_connect("127.0.0.1", "root", "") or die(mysql_error()); mysql_select_db("base", $dbh);