Quote:
|
Originally Posted by seb_
PHP Code:
<?php
mysql_connect('localhost','USERNAME','PASSWORD');
mysql_select_db('test');
echo 'unless you see any error messages, everything should be fine';
?>
|
Oh btw with that ^^ You will not get any errors appearing, to get it to show the error you would have to add
mysql_connect('localhost','USERNAME','PASSWORD') or die ('There was a error, ' . mysql_error());
