Page 1 of 1

Re: Php Error - No Database Selected

Posted: Mon Sep 29, 2008 2:24 pm
by tyler.pomroy
this is the right way to connect mysql sever.

mysql_connect("localhost","username","password") or die(mysql_error());
mysql_select_db("database");

tyler