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

Subscribe to our news:
Partners
Testimonials
Peter Robinson: "As a tech savvy company director, I wanted an inexpensive web based database application to manage all aspects of my business. As with most humans I find developing purely by CLI very hard and do not have the will or time to invest in improving my skills. I was looking to find a nice human friendly GUI to design and build my application, which is when I came across PHP Generator for MySQL.

Whilst you still need a great understanding of logic and a small amount of programming ability to get the specific results you require, I am very happy with the speed of progress I have been making with this invaluable tool.

With all the standard libraries included, this product makes normal requirements such as JavaScript form validation, lookup selectors, on click events, auto complete, detailed searches, multiformat exports, rss feeds and username security straight forward and quick.

Having any changes made via the GUI written to the web server at the click of a button makes testing out ideas quick and easy without fear of breaking your application.

To conclude, I couldn't find any other product on the market that came close to offering the amount of options this does, and I do hope that more products like this come out in the future, with the hope of eventually eradicating the need to program all together".

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".

More

Add your opinion

PHP Generator for MySQL online Help

Prev Return to chapter overview Next

OnCustomCompareValues

This event allows you to define your own function for value comparison. Live example and video tutorial.

 

Signature:

function OnCustomCompareValues($columnName, $valueA, $valueB, &$result)

 

Parameters:

$columnName

The name of currently processed column.

$valueA

The first value to compare.

$valueB

The second value to compare.

$result

The result of the comparison. Should be set to 0 if values are equal and to a non-zero value otherwise.

 

Example

This example shows how to define an algorithm that considers two values to be equal if their difference is less than or equal to 0.5.

 

if (in_array($columnName, array('height', 'length', 'width'))) {

    $result = abs($valueA - $valueB) <= 0.5;

}

 

The example can be seen in action in our Feature Demo.



Prev Return to chapter overview Next