Subscribe to our news:

 Partners
 Testimonials
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".
Ananda Theerthan J: "I have been looking for PHP generator for years and now I am happy that I found one. Yes, its the PHP generator for MySQL. I completely rate 10/10 for this product for making life easier. It has lot of features and capabilities especially the CRUD, lookups and data partitioning. I love this product and recommend to others".
More
Add your opinion
 Customers
|
PHP Generator for MySQL online Help
OnAddEnvironmentVariables
This event allows you to add environment variables for a page. You can access the values of these variables in any server-side event of the page via GetEnvVar() method of the Page class. To set custom variables to be used in any server-side event of any application page, use the global OnAddEnvironmentVariables event handler.
function OnAddEnvironmentVariables($page, &$variables)
$page
|
An instance of the Page class declared in components/page.php.
|
$variables
|
An associative array of environment variables. Use it to add your own variables for a page.
|
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'));

|
 Company news 
Aug 23, 2022
New version introduces toggles, one- and two-dimensional barcodes, enhanced lookups sort order, changing page data sources, PHP 8.1 support, editor hints, and other useful things.
Feb 12, 2021
A new version comes with PHP 8.0 support, inline View forms, updated CheckBox Group editor, on-the-fly adding of new items to multi choice controls and other useful improvements.
Sep 10, 2020
A new minor version features the possibility to customize headers and footers of 'Registration', 'Resend verification' and 'Password recovery' pages, revised OnAddEnvironmentVariables event, default values is Cascading Combobox editors and more.
 Resources
The article shows how to implement an AJAX-based one-click editor for a logical column.
This article begins a series of step-by-step tutorials on how we made the NBA demo. It explains how to add new items to the menu, implement run-time theme selection, and tweak the login form.
The article illustrates how to use various chart libraries with PHP Generator.
 Feature of the day
PHP Generator supports data export to PDF, XML, CVS, Excel and Word.
PHP Generator allows you to protect the result script with a lot of security settings.
|