Posts Tagged ‘connect’

How do I connect to MySQL from PHP?

The first thing you will need to do when using PHP and mySQL is to connect to the mySQL database from PHP.
Luckily there are a couple of functions in PHP that make it easy. Once you get it working you can just copy and paste at the top of each script that requires the database or use a template or include file of some sort to include the details.

And that’s all there is to it – use your username, host, password and database name and this will establish the connection.
The most common problem is that you get the password wrong so double check it’s right if you get errors.

How to edit my website?

Use Any Web Builder

FTP Server: ftp.YOURDOMAIN

FTP User: Direct Admin User

FTP Password: Direct Admin PASS

If You Use Host1Free Web builder Than Go To www.YOURDOMAIN/admin

How to connect to FTP with a web browser?

You will need a web browser that supports the FTP protocol, then simply go To ftp://DOMAIN

Use Your Direct Admin User & Pass