-
Step 1
Go to the PHP homepage (see Resources below) and download PHP version 5.2.8 onto your web server. PHP is a server-side scripting program that can be embedded into HTML files and that allows you to connect to your database.
-
Step 2
Go to the MySQL homepage (see Resources below) and download and install MySQL 5.1 onto your web server. MySQL is an open source database program that will store the data for your new website.
-
Step 3
Add tables and fields to your online database using the MySQL web interface. Once MySQL has been installed on your server, you can access the web interface through any standard web browser.
-
Step 4
Add desired records to your new database using the MySQL user interface. Once the database website has been set up with PHP, entries can be added using a web browser.
-
Step 5
Open a new document in your web editing application and use the "define" PHP command to build a link between your website and the MySQL database.
-
Step 6
Save the PHP file to the root level of your active web server. This will instruct the website code to communicate with the correct MySQL database.
-
Step 7
Create other PHP pages in your web editing program to perform database functions, like searching, adding records and deleting records. Use the "mysql_query" PHP command to interact with your data.
-
Step 8
Save all related pages as ".php" files and place them on your web server.