Chapter 1
Understanding PHP Basics
IN THIS CHAPTER
Understanding PHP
Using PHP in HTML5 programs
Storing data in PHP programs
Including PHP code in multiple programs
Welcome to the PHP minibook! If you’ve been following along through the previous minibooks, you’ve seen how to create web page content using HTML5, how to style and position it using CSS3, and how to add some dynamic features to your web pages using JavaScript. This minibook examines the next piece to dynamic web applications — using a server-side programming language to make your web applications even more dynamic. As the title of the book suggests, the server-side programming language that I discuss is PHP, one of the most popular server-side programming languages in use on the Internet today!
Seeing the Benefits of PHP
So far, you’ve already seen that JavaScript is a popular client-side programming language and that it has the ability to change the content and style of a web page dynamically. One question you may be asking is, “Why do I need a server-side programming language, too?” This section examines what your ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access