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

Subscribe to our news:
Partners
Testimonials
Simon Greener: "A lot of work went in to designing our application database. PHP Generator allowed us to build a fully functional, professional looking, and functionally powerful web application from that database. It has freed us from worrying about low level code, enabling us to focus on the business requirements of the customer. The support provided is excellent with staff quickly producing answers to questions ranging from newbie to simple or complex. I highly recommend the product".
John Gondek: "Your software is amazing. I consider myself a novice at PHP and JS and with your software I have a web page that is truly fantastic. Thank you so much ".

More

Add your opinion

PostgreSQL PHP Generator 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