dbinfo.php would include something like this:
<?php //this is hostname or IP, username, password $con = mysql_connect("localhost","root","root"); if (!$con) { die('Could not connect: ' . mysql_error($con)); } mysql_select_db("yourDBname") or die(mysql_error()); ?>
No comments:
Post a Comment