On Tue, May 21, 2002 at 09:08:38AM -0600, hpinson at indepthl.com wrote: > Hi. I'm new to PHP, moving from Cold Fusion and Zope. In Cold > Fusion, to connect to a database, you need to register the database > with ODBC. This does not seem to be the case with PHP. How > does PHP see the connection to the MySQL database and > associated tables? > > In Dreamweaver MX, I seem to make a connection to the MySQL > server, but no databases or tables show up. > With PHP you can use the mysql_connect function (http://www.php.net/manual/en/function.mysql-connect.php) to connect to your database. Check the comments below for some good examples of usage. Robin robin at rhastings.net http://www.rhastings.net