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

Subscribe to our news:
Partners
Testimonials
Gabriela Arsene: "MySQL PHP Generator is really excellent! A very useful, easy to use tool and above all it is free, saving a lot of time and money to a developer! Great job! Congratulations to all the people who work at this project".
David Lantz: "Thank you, this is by far the simplest, and most friendly utility for building db record system I have ever used. I wish I could get my systems guys at the office to purchase this for our company would be so very helpful and speed up a lot of work. I for one have used it for everything from a simple inventory record of my house, to a members record for my church just little pet projects and a test bed to test my own db builds and theories before having to hand code at the office..... it is a lot of fun to work with".

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