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

Subscribe to our news:
Partners
Testimonials
Craig Cordell: "The simplicity of your code generator is fantastic. We've evaluated dozens of others over the past few years but have yet to find one that is as easy to use as yours".
Grey: "We're a two-person company, it's just me an my wife. I'm the technical guru, and she handles the business operations. I have to know a lot about MySQL, but that's much too technical for her. I have frequently had to setup CGI scripts (I code in Perl) so she can manage some of our tables (suppliers, manufacturers, etc).

I discovered PHP Generator a couple of days ago, tried the free version,and within a few hours I had purchased the Pro version (as well as SQL Maestro for MySQL).

Today I am completing the conversion of the last of my custom table managers to PHP Generator. This is eliminating several thousand lines of code that I don't have to support any more!

Thanks for this fantastic product".

More

Add your opinion

PHP Generator for MySQL online Help

Prev Return to chapter overview Next

OnAddEnvironmentVariables

This event allows you to add environment variables for your application. You can access the values of these variables in any server-side event of your application via GetEnvVar() method of the Application class, and also use them in lookup filter criteria, on data filtering, and as default values.

 

Signature:

function OnAddEnvironmentVariables(&$variables)

 

Parameters:

$variables

An associative array of environment variables. Use it to add your own environment variables for your application.

 

Example 1:

The following code defines a new variable, which can be used in lookup filter criteria, on data filtering, as a default value.

 

$variables['DATE_TWO_MONTHS_AFTER_NOW'] = date('Y-m-d', strtotime('+2 months'));

 



Prev Return to chapter overview Next