codecruiser9999 Posted January 6, 2009 Report Posted January 6, 2009 How events is being done in PHP? Pls. create a sample code showing about executing events.For instance, i create a code that adds a number i have 3 controls or GUI that are 2 textboxes and one action button one is inputbox and andi outputbox and another is displaybutton when i enter a number in inputbox its value is displayed in the outputbox each time i clicked display button to trigger an event or when i clicked there is an action that will occur according to the program specified i just want to know if there is an event hanlder in PHP ?In VB events is like this in action button for instance Private Sub cmdDisplay_Click() and java has it own event handlers also.Just show how it id done in PHP. Quote
alexander Posted January 6, 2009 Report Posted January 6, 2009 PHP does not support events.... but one could simulate them there is a good tutorial on this at devshed with examples: Simulating Events with PHP 5 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.