PHP – Lesson 10: Using GET and POST

This lesson demonstrates how the PHP  $_GET and $_POST superglobal arrays work. On this page are three slideshow/demo videos, as follows:

  • Slideshow lesson on how we use $_GET and $_POST to get info from users
  • Demonstration on how to build simple, basic code to illustrate $_GET
  • Demonstration on how to build a basic form to illustrate $_POST


Getting Info From Users (Part A)

This slideshow can be downloaded in pdf format here.


Demo Using $_GET

(This video corresponds with the slideshow above.)

 


Demo Using $_POST

(This video corresponds with the slideshow above.)
You can also download the starter files that correspond with this video.