Event driven Programming in PHP
Posted: Wed May 12, 2010 12:47 am
Dear All,
I am from ASP.NET back ground and new to PHP. I just started learning the PHP for my new assignment but I could not understand how to handle Postback. My PHP page has many controls which can do post back. Each control has to do different task on postback. It can be easily done using control's event in the ASP.NET but I wonder how can it be done in PHP.
How to make PHP page such that it will execute different code on post back caused by differnt controls.
This might be fullish query but please help. Also anybody could suggest be good PHP book for this?
I am from ASP.NET back ground and new to PHP. I just started learning the PHP for my new assignment but I could not understand how to handle Postback. My PHP page has many controls which can do post back. Each control has to do different task on postback. It can be easily done using control's event in the ASP.NET but I wonder how can it be done in PHP.
How to make PHP page such that it will execute different code on post back caused by differnt controls.
This might be fullish query but please help. Also anybody could suggest be good PHP book for this?