Chapter 3. Passing Information with PHP
Now that you're comfortable with the basics of PHP, you're ready to go over how information is moved from page to page. You'll need this for nearly every aspect of the blog, from writing new posts to allowing users to comment.
In this chapter, you'll learn the following:
What superglobal arrays are in PHP and how to use them
How to send data using HTML forms using the POST method
How to send data in the URL using the GET method
How to store data in SESSIONS for use across multiple pages
How to create and store COOKIES for returning users
Passing data is what separates dynamic web pages from static ones; by customizing an experience based on the user's choices, you're able to add an entirely new level of value ...
Get PHP for Absolute Beginners now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.