border border border
border
Home Monday, 07 July 2008






   

The server has been moved and all sites and services appear to be functioning correctly. Please contact support if you find a problem since the move.



Advanced Spam Handling Techniques

Our newest help document outlines how to use the filtering available in your control panel to cut down the amount of spam you are receiving in your email accounts.



Welcome to our support site.

If there are problems with a server we will post the information here. Also you can reach us via the Contact Us menu item.




HomeFAQWeb LinksDownloadsSpam WhiteList ReqHelp DeskAccount Management

Main Menu
 Home
 FAQ
 Web Links
 Downloads
 Spam WhiteList Req
 Help Desk
 Account Management

Help Library
 Misc. Help
 Email Menu
 Stats Menu
 Server Menu
 FTP Menu
 Tools Menu
 Scripts Menu
 Maintaining Your Site
 Marketing Your Site
 Perl & CGI
 PHP


border
border
Connecting to MySQL Databases with PHP   PDF  Print  E-mail 
Use the following outline to connect and begin querying the mySQL server from within your PHP scripts. Remember that you cannot connect to your databases remotely for security reasons; you can only connect from localhost.1. Connect To The mySQL Server
Use the following statement to connect to the database server. Substitute the username, and password for those that have been created in the PCP interface and have given adequate permissions to this database.

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.

@mysql_select_db("DATABASENAME");

3. Executing A Query
You are now ready to execute your queries. Remember that the databases and users must be created in the MyAdmin interface in your PCP. Most problems that arise with your scripts will be caused by incorrect permission settings.


border
Add to Favorites
Make Home Page

Server Uptime
Days: 20
Hours: 19
Minutes: 1

Flash Tutorials
 Cpanel Tutorials
 Using Frontpage
 Using FTP Programs
 Using our Helpdesk

Tools
 GUI Tools
 Web Tools
 Virus Map
 Login

 

YourSupportZone

border
border border border