Professional Documents
Culture Documents
Passing Variables Between Pages: Khizra Hanif, Department of Software Engineering, LGU. 1
Passing Variables Between Pages: Khizra Hanif, Department of Software Engineering, LGU. 1
Passing Variables Between Pages: Khizra Hanif, Department of Software Engineering, LGU. 1
asd@gmail.com
submit
</body>
</html>
name email
$_GET
Asad asd@gmail.com
Khizra Hanif, Department of Software
10
Engineering,LGU.
Accessing form data on action page
name email
$_GET
Asad asd@gmail.com
</body>
</html>
</body>
</html>
$_POST
Asad asd@gmail.com
name email
page name:welcome.php
<html>
Asad <body>
</body>
</html>
Post Method
Data is received
Display a message
We are on
action page
Getting
value of ‘C’
Getting value
of ‘VB’
Getting value of
radio
Session variable is
created
link
Session
variable’s value
Session is
accessed