PHP Video: Processing Forms with PHP – part 2

August 29, 2006
Posted in PHP Videos

PHP Video Tutorial

Part two of my beginners video tutorials on how to use PHP to process HTML forms.

Video: PHP and forms video tutorial

Having covered the basics of forms in the first video, I now jump into the actual PHP code and introduce (for the first time) a built-in PHP construct called ‘Super Globals’.

We learn that Super Globals are associative arrays (that they hold lots of useful information,) that are automatically created by the PHP engine.

In this case we look at the three super globals that hold form data:

  • $_POST
  • $_GET

Stefan Mischook

3 Responses

  1. Stefan Mischook Author August 29, 2006 at 2:57 am


    I wanted to add a couple of notes for you guys.


    I don’t think I pointed out that associative arrays are called ‘associative arrays’ because they track the data inserted into that type of array by creating associations – the name-value-pairs I spoke about.


    They are called ‘super global’ because they can be used/accessed from anywhere in your PHP scripts. Thus the term ‘global’.

    … you will learn later about of the concept of ‘variable scope’ – where certain variables are only accessible from certain parts of your php scripts.

    More on that later.


  2. Pingback:

  3. wendy Author April 13, 2007 at 1:48 pm

    thanks. It was great!

To Top