Getting Started with PHP
- Lesson 1: Setting Up Your Workspace
- Lesson 2: Adding PHP to a Web Page
- Lesson 3: Learning PHP Syntax
- Lesson 4: Working with Variables
- Lesson 5: Debugging Code
- Lesson 6: Working with Complex Data
In this section, you learn the basics of working with PHP. In the first lesson, you learn what PHP requires on your computer before PHP will run. If your computer does not have the necessary software, you can use the instructions provided to download the free software, install it, and configure it to work. In the next lesson, you learn how HTML and PHP work together as you add your first PHP code to a web page. You are also introduced to the Case Study website you use throughout the book.
You learn in the third lesson about the syntax of PHP and how to write PHP statements. In the fourth lesson, you learn what variables are and how to use them. At this point, you will have learned enough to start making mistakes, so in the next lesson you learn about how to find your errors and debug your code. You need to know about debugging as you work with more complex data in the final lesson of this section.