Reminder: The download and installation instructions can me found on the Database page. I will limit my discussion here on the sequence and how they work together. Even though this is the most advanced topic, I am putting it in the second lesson so that it will be all set up when we are ready to use it. It will also allow you to start gradually and spiral up to the final phase. It will also give you the big picture earlier in the process. It sounds complicated, but we are mostly just installing software here and implementing the code later.
You currently have 5 major free items installed to run PHP/MySQL:
1. A local server Apache is included in the package XAMPP,
2. A database language MySQL is included in the package XAMPP and
3. PHP is the language used to access MySQL and is included in XAMPP also.
4. A MySQL editor phpMyAdmin (separate download) and additionally
5. DreamCoder for MySQL (free edition) for easy MySQL editing is suggested.
There are 3 different free downloads. If you install XAMPP, there is no need to download and install separate versions of PHP or MySQL.
The 4 items that you must always know when dealing with a database on the local server (Apache installed on your machine) are:
1. Host is localhost
2. User Name is root
3. Password is can be left blank on the local machine so don't enter one initially.
4. Database name is whatever you choose and Table is also. One database may have many tables.
They can be the same on the remote server (The server set up by HostMonster or your current hosting company), except ALWAYS USE A PASSWORD AND SET YOUR USER PERMISSIONS AS STRICTLY AS POSSIBLE!!!!!
You can now back track a little and start practicing some of the skills. You should limit yourself to XHTML, CSS and maybe a little PHP right now. You should also select at least one reference book for XHTML/CSS like HTML, XHTML & CSS (Visual QuickStart Guide Series). Also use About.com as a source of code and information. You can work your way up to some templates to edit. There are thousands of free open source templates at OSWD for personal or noncommercial use. You may also use the free templates @ Template World to practice with. If you want to try some simple PHP you can find unlimited free examples on the web.
For XHTML pages the file extension is .html and for pages that contain PHP the file extension is .php. PHP pages may contain a mixture of both XHTML and PHP. Start by making a home page design that you like. Then design a one, two and 3 column design all with the same header and footer. Try not to use inline style. Keep your styles in your CSS. You can use either CSS div or tables for the columns and decide which is best for you. Always capitilize and indent properly for readability. It will be just as important to you as you eidt as it will be to anyone else looking at your code. Don't cut corners on style or it quickly becomes a nightmare. Always name your style sheet similarly to your HTML page so you will know they are related. Try to use one stylesheet for multiple HTML pages. You will quickly see the advantage here for editing.
Now is the time to catch your breath and enjoy your accomplishments! Good luck and have fun.