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

Subscribe to our news:
Partners
Testimonials
Ran Cole: "We bought the tool last week and want to say how much we love it. We've found it not only powerful, but very user friendly. We have used the tool to create an interface that manages our MySQL DB for different types of users".
Dave Lantz: "I have to say that I simple love this product and its ease of use. I know that I have only tapped into about 20% of what it can do. In my business I come into a lot of contact with developers and I tell them all, that if they need an easy way to connect, report or work their databases they MUST check out your products".

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