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

Subscribe to our news:
Partners
Testimonials
Steven Langfield: "I wanted to drop you a mail to say how freaking AMAZING your software is. It will be the best £100 I have ever spent. I have still to read all your documentation to take full advantage but what you have created is truly amazing".
Charles Phillips: "Just want to take a second to really thank you for all the great support you give – I think that’s by far the best feature you offer".

More

Add your opinion

PHP Generator for MySQL online Help

Prev Return to chapter overview Next

OnBeforePageExecute

This event handler contains PHP code to be included into the page. This code is executed only once and intended to create global objects, declare functions, include third-party libraries, and so on.

 

Example

Suppose we decided to implement a syntax highlighting using the GeSHi library somewhere in the generated application. To implement such a feature, we need (among other things) to include the main library file into the generated scripts, so the event handler should be specified as follows:

 

include_once '../geshi/geshi.php';



Prev Return to chapter overview Next