Database Connection
Hi all,
I am a C++ developer - new to PHP and MySql. Am using MySql on a Yahoo domain that supports MySql & PHP. Just trying the basics, but when I do the following:
<?php
// Connecting, selecting database
$link = mysql_connect('http://mydomain.com', 'myusername', 'mypassword'); ?>
it times out. Have tried substituting with the IP address, added port number - all with the same result. I expect (and hope) it is something easy.
Thanks for helping.
-Gabe
|