I am using this to connect remotely but I get a no database selected error. The table is contacts but there is not a parameter for database name according to the documentation. How do I delect my database when conencting this way? $link = mysql_connect('xxxx.org:3306', 'my_username', 'mypass'); echo 'Connected successfully'; $query = "SELECT * FROM contacts"; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php