Re: Php Error - No Database Selected
Posted: Mon Sep 29, 2008 2:24 pm
this is the right way to connect mysql sever.
mysql_connect("localhost","username","password") or die(mysql_error());
mysql_select_db("database");
tyler
mysql_connect("localhost","username","password") or die(mysql_error());
mysql_select_db("database");
tyler