How do I use PHP to connect to MySQL?

To merely display the information in your database without the use of a form to call a PHP script you simply create your html document as you would any other web page but instead of the extension of .htm or .html you need to name the file with the extension .php. Then within the document itself the section that you'd like to be the PHP code, begins with We can't teach you how to write PHP in a short answer, however. Read a good book on the subject.
  • 13 Users Found This Useful
Was this answer helpful?

Related Articles

How do I use phpMyAdmin?

Go to http://yourdomain/cpanel -> SQL Database -> phpMyAdmin.

What version of PHP do you have?

We use the latest stable version of PHP If you require a module to be installed please contact us.