Services

Services

Reseller Plan

Dedicated Servers

Services

Spam Policy

use

demo

faq

helpdesk

Signup!

ContactUs
affiliate program


How do I connect to my database from PHP?

The easiest way to manipulate your database is through phpMyAdmin, which is on all of our servers.


$mysql_link = mysql_connect("localhost", "username", "password"); mysql_select_db("yourdomainname", $mysql_link);


For further information, please visit the php website: http://www.php.net, or refer to your favorite php documentation.


Script provided by SmartCGIs.com