| |
|
All plans include |
-
Control Panel
-
Free setup
($25 save)
-
FP
extensions
-
Web file manager
-
Php,MySQL,Cgi,perl
-
FTP accounts
-
Website
statistics
-
Free 24/7 support
-
99.9% server uptime
-
30 Day money back
-
And much
more 
|
|
|
|
Control panel demo |
|
All our Linux hosting plans come up
with the most widely used control panel on the web. cPanel |
|
 |
|
Click here for
Demo
|
|
|
|
|
Q
How do I connect to my MySQL database with PHP? |
|
|
A
Here is a quick description of what commands are needed in your
PHP pages to connect to MySQL. Note that if you need to connect
remotely from another machine, you must let us know the IP# you
will be connecting from so we can enable this for your database.
1. Connect to the MySQL Server
Use the following statement to connect to the database server.
Substitute the username and password for your MySQL username and
password. MYSQL_CONNECT('localhost','USERNAME','PASSWORD');
2. Select Your Database
Use the following statement to select the database you wish to
connect to. Make sure you substitute your database name for the
example.
@mysql_select_db('DATABASENAME');
3. Executing A Query
You are now ready to execute your queries. (Most problems that
arise with your scripts will be due to incorrect permission
settings.) |
|
|
|
|
|
|
More
Services |
|
|
|
|