Choose your database:
MS SQL Server
SQL Anywhere

Subscribe to our news:
David Lantz: "Thank you, this is by far the simplest, and most friendly utility for building db record system I have ever used. I wish I could get my systems guys at the office to purchase this for our company would be so very helpful and speed up a lot of work. I for one have used it for everything from a simple inventory record of my house, to a members record for my church just little pet projects and a test bed to test my own db builds and theories before having to hand code at the office..... it is a lot of fun to work with".
Mike Little: "Great product, thank you for your great work and sharing".


Add your opinion

PHP Generator for MySQL FAQ

You are welcome to look through the following Frequently Asked Questions list for getting to know the answers to the most commonly asked questions about PHP Generator for MySQL.

If you want to ask a question which is not in the list you may apply to our support team.

What is PHP Generator for MySQL?
PHP Generator for MySQL is a powerful MySQL GUI frontend that allows you to quickly build a professional-quality, 100% responsive website based on your database without any programming. Live Demo.
Would it be possible to take a look at a sample web application built by this tool?
Yes, certainly. Enjoy our online demos. Also you can download the appropriate project files to get familiar with lots of the PHP Generator for MySQL features.
What is the difference between Freeware and Professional versions of PHP Generator for MySQL?
Please find all the differences in the feature matrix.
How to send a bug report from the program?
To send a bug report, click the More button at the bottom of the main window, then select the appropriate command from the menu, describe the issue and press the Send report button in the dialog window to send the prepared report with your default email client.

Send a bug report

If you have any problem sending the report directly from PHP Generator for MySQL, you can save it to a file and then send that file to as an email attachment.
Is it possible to get a list of changes made in the minor versions?
Yes, there is the complete changelog.
How can I save my work between PHP Generator for MySQL sessions?
Click the More button at the last wizard step and select the Save Project item to save the current configuration.
Is it possible to edit php code generated by PHP Generator for MySQL?
Of course you can modify the generated code but, unfortunately, we have no possibility to provide any support on this.
I installed PHP Generator for MySQL and generated a first script, but it produces just a blank page.
Try to turn ON the "Force show PHP errors and warnings" option in the Project Settings dialog. Then refresh the page in the browser to see a more informative error message. It also makes sense to take a look at the web server logs.
Is it possible to execute a custom SQL query from an event handler?
Yes, it is possible for server side events. See the Developer Reference section in the manual for more information and examples.
After uploading of a generated project on my webserver I came up with this kind of error: Parse error: syntax error, unexpected T_OBJECT_OPERATOR in my_page.php on line XX.
The code produced by PHP Generator requires PHP 5.2 or higher. Please make sure you have installed the correct PHP version on your webserver.
Does your software support lookup options?
Yes, it does. Moreover, lookup menus are generated automatically if your database contains the appropriate foreign key constraints.
Is it possible to handle many-to-many relationships with PHP Generator for MySQL?
Yes. Please find a couple of examples in our Feature Demo.
What variables can I use in events and templates?
This is covered in the "Using Variables" section of the manual.
How can I determine the total number of records in the table/view/query using a PHP script created with your product?

Use the mouse hint for the page numbering area:

Record number

Can I incorporate features provided by a third-party library in the script created by PHP Generator for MySQL?
Yes, PHP Generator allows you to activate third-party components. Find out details in the corresponding article.
How can I supply pages created by PHP Generator for MySQL with look and feel of an existing website?
The simplest way is to use the <iframe> tag. Live example.
Is there a way to add a new action link or button to link to a custom php page?
The current version of PHP Generator for MySQL doesn't support such feature directly, but there is a simple workaround: you can replace the original content of an existing data column with the required link or button using the OnCustomRenderColumn event. For example, to display the "Do something" link referencing to the dosomething.php script file instead of the original data stored in the 'data_field' column, specify the event body as follows:
Listing 1.
if ($fieldName == 'data_field')
   $customText = '<a href="dosomething.php?id=' .$rowData['id'] .'">Do something</a>';
   $handled = true;
In case your table has no column to replace, create a custom query based on this table with an additional stub column. Hopefully a more convenient support for row-level command buttons will be added within one of the next releases.
How to add a new link to the application menu?
The simplest way is to use the OnCustomizePageList event. It is also possible to provide a custom template as described in this article.
Is it possible to use variables within the lookup filter condition?
Yes. The correct syntax is as follows: owner_id = %CURRENT_USER_ID%.
I got the following error message: DateTime::__construct() [datetime.--construct]: Failed to parse time string at position 6: Unexpected character.
You have to specify the correct time zone in the php.ini file as described in the PHP manual.
I want to send an email notification after a user inserts or updates a record.
I set outgoing mail server settings, but emails are not sent
If you use Google Mail or Yahoo, please make sure you allowed sending mail via SMTP. Otherwise please contact your ISP for details.
Export to PDF does not work for me as I got the following error message: Fatal error: Allowed memory size of X bytes exhausted (tried to allocate Y bytes) in path_to_file\pdf_renderer.php on line Z.
I have a table with a column storing values computed from an expression that use other columns in the same table. How can I use OnbeforeInsertRecord and OnBeforeUpdateRecord events to add the values automatically?
Suppose, you have a table with the 'totalcost' column which values are calculated using the 'unit_cost' and 'quantity' column values. To fill the column automatically, use the following code at the OnBeforeInsertRecord and OnBeforeUpdateRecord events:

Listing 2.
$rowData['totalcost'] = $rowData['unit_cost'] * $rowData['quantity'];

What is the correct syntax for items containing spaces in Combobox and Radio Group editors?
It is as follows: "stored value 1=display value 1","stored value 2=display value 2". For example, 1=Small,2=Large,"3=Extra large".
Is it possible to display NULL values as empty strings?
What should I enter as 'host' when connecting to a MySQL server?
You may enter a domain name or an IP address. Examples are: localhost,,
Does PHP Generator for MySQL work with MariaDB?
Yes, all our MySQL-related tools have been successfully tested with MariaDB.
After uploading a project on my webserver I came up with this kind of error: Parse error: syntax error, unexpected T_OBJECT_OPERATOR in path\to\project\web\index.php on line 12?
The code produced by PHP Generator requires PHP 5. Please make sure that you have installed the correct PHP version on your webserver.
How can I find out the date of my current product version release?
Product versions are formalized according to the date of release. For more information, please refer to the appropriate news article.
I want to connect to the server via SSH tunnel and I have a public-private key pair that works fine with PuTTY. However when I test the connection, I get an error message "Key is broken".

PuTTY uses its own format to store private keys while our products support private keys stored either in OpenSSH or formats. To convert a private key from PuTTY's format to one of the formats acceptable by our software, use the PuTTYgen utility that can be freely downloaded from the PuTTY website.

I cannot upload files larger than 1M to my database. What to do?
You should setup correct values for the post_max_size and upload_max_filesize parameters in php.ini and max_allowed_packet MySQL variable.