Choose your database:
MS SQL Server
SQL Anywhere

Subscribe to our news:
Dionys Henzen: "Congratulations! Your MySQL PHP Generator is a great tool, that can save a lot of time and money to a developer! I'll evaluate for sure your software products when I need them. Great job".
Tony Broadbent: "Such a great product! I have been struggling to hand craft pages which, with your PHP Generator, I created beautifully within 5 minutes of downloading it".


Add your opinion

PHP Generator for MySQL online Help

Prev Return to chapter overview Next


PHP Generator for MySQL allows you to supply the generated applications with an additional functionality with the help of event handlers. Event handlers are fragments of PHP/Javascript code executed at the appointed time. This feature provides you with wide opportunities: for example, you can equip webpages with tracking of user activity, completely redesign any of generated pages, supply the application with the power of third-part libraries, etc.


All events supported by PHP Generator for MySQL may be divided by the scope the events are fired on (possible options are all generated webpages (global events) or a certain webpage (page-specific events)); and by the side the event handlers are executed on: the webserver (written on PHP) or browsers (written on Javascript).



To add or modify an event handler:

open Page Editor of a webpage the event to be fired on (for page-level events) or the Project Options dialog (for global events);
go to the Events tab;
select an event from the list and double-click the appropriate line in the grid (it is also possible to use popup menu or Ctrl+Enter);
enter/modify your PHP/Javascript code in the text area.


To temporarily disable an event, use the corresponding checkbox at the Events tab of the according Page Editor (for Page events) or the Project Options (for Global events).


Prev Return to chapter overview Next