How to run Jargon PHP schema query from command line (.bat file)

If it is desired to test PHP code functionality without using a browser and web server, a .bat file works nicely.

Example: Run capability in schema.html via command line.
Use:

php .\select.php ROWSPERPAGE=200 Format=VA ShowRowNum=no SELECT="SELECT * from Customer WHERE Name > 'A' AND Name < 'B'"

---------------------
In this example, the query:
SELECT="SELECT * from Customer WHERE Name > 'A' AND Name < 'B'

will be run via PHP script in batch environment.

Article Details

Article ID:
54
Category:
Date added:
2011-02-01 22:39:15
Views:
1,258
Rating (Votes):
(566)