MySql connect, where to put DB name.

[php]
mysql_connect(“localhost”, “root”, “xxxxxx”) or die (mysql_error());
/* DB Table Name */
mysql_select_db(‘DBName’ . ‘TableName’) or die (“An error occured. Could not select database.”);
[/php]

I’m not sure where to define the database name and where to define the table name. Thanks for any help on this.

I got it. I didn’t need to define the table there. Sorry about that.

Sponsor our Newsletter | Privacy Policy | Terms of Service