So you want to learn how to program in PHP? Well maybe not, but for those of you that do, you're in the right place. PHP adds a whole new dimension to traditional website design. Some common uses are multi-part page compilation (header + content + footer), dynamic content, and database interaction. This article is best suited for someone who already knows HTML, and wants to learn how to write dynamic and interactive websites. If this sounds like you, then read on, and enjoy!
To make the most of this quick lesson, you should get access to a PHP installation so that you can test out the code for yourself. PHP is available to download for all major operating systems at PHP. A text editor with syntax highlighting is also highly beneficial. For Windows, I prefer phpDesigner 2007. It has a great feature where it will allow you to instantly refresh PHP output if you have PHP locally installed. For Mac, I would recommend my new favorite, Coda - although this isn't free. (Have a free Mac favorite? Let me know in the comments!) And, if you are cool enough to be using Linux, then you probably already have a favorite. But if you don't, then try Gnome's gedit. Now that you have all of this taken care of, you are ready to start programming!
