carlvernon
11-17-2005, 06:02 PM
when i have a mysql database and i want to link to it in my php code is there a file extension i should use for my database after the name, ie.e in ms assces i would have a database like this, orders.mdb, or would i link to it like this (i know it is not the whole code i would need to connect to a database, i am just refering to a database and telling php what the name of the database is
$dbname = 'orders';
mysql_select_db($dbname);
$dbname = 'orders';
mysql_select_db($dbname);