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

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

Patrick Biegel: "Thanks a lot for your fast reply and the great solution! It works now and that's really important! The PHP Generator for MySQL is a great software".

More

Add your opinion

PHP Generator for MySQL online Help

Prev Return to chapter overview Next

Command line options

PHP Generator for MySQL supports a number of command line options that allow you to fully automate PHP scripts creation. To generate the command line automatically, load the project to be used or specify the generation options manually and click More > Generate command line. The Command Line Builder allows you to save the prepared line to clipboard or to a batch file.

 

The PHP Generator for MySQL command line syntax is as follows:

PHPGenerator[.exe] [<project_file_name>] [-o|output <output_directory>] [-g|generate] [-h|help]

 

PHPGenerator[.exe]

The PHP Generator for MySQL program file.

<project_file_name>

The project with all the task's settings.

<output_directory>

A directory where file are generated to.

-g|generate

Generate without running the GUI application.

-h|help

Show help information.

 

Examples

The examples below assume that you are entering the command lines in the PHP Generator for MySQL program directory. Don't forget to enclose all paths and filenames containing spaces in quotes.

 

To open the NBA_db.pgtm project in PHP Generator GUI:

myphpgenerator C:\PHPGen\MySQL\NBA_db.pgtm

 

To generate files without opening PHP Generator GUI:

fbphpgenerator C:\PHPGen\Firebird\online_store.pgtf -g -o C:\xampp\htdocs\myapp

 



Prev Return to chapter overview Next