Text Reading
The Text Reading Assignment instructed us to read Larry Ullman's PHP and MySQL for Dynamic Web Sites text book. The book teaches the absolute basics and goes into advance coding of PHP and MySQL. Since Module 2 is soley focused on PHP we only had to read up to chapters 1-3. Below you will find an overview and what I have learned in each of those chapters. They each include an executable program coded in PHP.
- Chapter 1: In Chapter 1, I learned basic Syntax of PHP, sending data to the web browser, writing Comments, establishing Variables, Strings, Concatenating, Numbers, Constants, and basic Debugging. Click the following link to see an exercise example for what I learned in Chapter 1: Chapter 1 Examples
- Chapter 2: In Chapter 2, I learned how to create and handle HTML forms using PHP. I was introduced to conditionals and operators such as if, else, if-else, if-else-if, and switches. I also learned about arrays and how to manipulate data within the arrays. For and While loops was also introduced. The following link is an example of what I learned in Chapter 2. Chapter 2 Examples
- Chapter 3: In Chapter 3, I went more in depth with handling forms using HTML and PHP. Incorporating functions within the forms was also introduced. The Following link is an example from the book that utilizes forms in HTML and PHP. When you click the link go to Calculator and there you will see an example of a PHP form. It calculates Miles per gallon and the approximate time for your trip. Chapter 3 Examples
