View Single Post
  #5 (permalink)  
Old 04-06-2005, 06:42 PM
martian2k4
Guest
 
Posts: n/a
Default

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());

Reply With Quote