Jenna's SESSION Array Demo (Page 1)
Array
(
[name] => Jenna
[phone] => 123-456-7890
[count] => 0
)
GOTO Page 2
Please note -- There is NO FORM (i.e., no POST nor GET) on this page, but this script is populating variables and passing those variables from this page to another page via a SESSION array. Also note the count variable is being declared by a SESSION ternary operator.
This process demonstrates how variables can be passed from one page to another via a SESSION array.