Even with it being on a separate server, setting up MySQL and PHP to
work together is almost flawless, with ODBC and MySQL being enabled by
default on the windows PHP ver, just plugin the code.. To test this
theory you can always use the following code (as I do when setting up a
new server):

<?php
        $sqlhost = "12.110.x.x";
        $sqluser = "username";
        $sqlpass = "password";

        $conn = mysql_connect($sqlhost, $sqluser, $sqlpass) or
die(mysql_error());
?>

That will test to see if you can connect to the host. Simple :)

For more information, either read the MySQL documentation along with the
PHP documentation, or check out devshed's tutorials. 
--
Charles Butler
[EMAIL PROTECTED]
Research and Development
American Telanet Corp. 


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to