PDA

View Full Version : Mysql variable


MK1.0!
7-23-04, 06:09 AM
does any1 know y this code wont work
$s="mysql_select_db("";
//Have already connected to the database
$s s");

HalfaBee
7-23-04, 07:34 AM
It is not correct.

Are you trying to connect to the db?
try this
mysql_select_db( "dbname" );