Choose your database:
AnySQL
MySQL
MS SQL Server
PostgreSQL
SQLite
Firebird
Oracle
SQL Anywhere
DB2
MaxDB

Subscribe to our news:
Partners
Testimonials
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".
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".

More

Add your opinion

PHP Generator for MySQL online Help

Prev Return to chapter overview Next

Events

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.

 

The most of 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).

 

You can also adjust the behaviour of your application on user login/logout with Security Events. These events are activated with the application Security Options are enabled.



Prev Return to chapter overview Next