This chapter offers a quick overview of how PHP works and gives you the basic rules. It’s aimed primarily at readers who have no previous experience of PHP or coding. Even if you’ve worked with PHP before, check the main headings to see what this chapter contains and brush up your knowledge on any aspects that you’re a bit hazy about.
Understanding how PHP is structured
Embedding PHP in a web page
Storing data in variables and arrays
Getting PHP to make decisions
Looping through repetitive tasks
Using functions for preset tasks
Displaying PHP output
Understanding PHP error messages