php3-list | 199908

[PHP3] From ODBC to MySQL, somebody help? From: Paulo Eduardo Azevedo Silveira (peas <email protected>)
Date: 08/31/99

Hi...
I am used in working with ODBC DSN names with PHP, now I am studying
MySQL, but only with online manuals (kinf of hard), so can someone tell me
the difference? :
In ODBC, we have the DSN that allows you have a name for one database,
like DSN "x" is c:\example\test.mdb... so I use X in the odbc_connect,
like:
$id=odbc_connect("x",USER, PASS);
but with mysql, the example that I ve read, says:
$id=mysql_connect(localhost,...
localhost???? What does it mean? I can only have one database? I dont
understand... Or all tables always stay together? The problem is that I
dont have a machine running linux to start learning better...
Thanks
paulo

 -------------------------------------
 Message from:
 Paulo Eduardo Azevedo Silveira
 Undergraduating in Computer Science
 University of Sao Paulo - IME
 http://www.linux.ime.usp.br/~peas
 -------------------------------------

-- 
PHP 3 Mailing List <http://www.php.net/>
To unsubscribe, send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
To contact the list administrators, e-mail: php-list-admin <email protected>