Click to See Complete Forum and Search --> : SQL Code Generator


indod
03-31-2004, 11:44 AM
Hi,

Could anyone recommend a good tool for generating PHP data access code from a mySQL database. I have looked at:

phpCodeGenie and php_gen

Code Genie is good, except it seems to be a few errors in the generated code.

Has any one had any experience with these or can recommend a good generator?

Thanks

piersk
03-31-2004, 12:53 PM
you can use phpMyAdmin to generate code.

indod
04-02-2004, 04:12 AM
Thanks,

Had a look at phpMyAdmin. Its okay, but it appears you have to enter a record first to generate the code, which is not always feasible.

I must have tested about 5 or 6 of these code generators, and the the problem with them is they all try to write the code for the entire application :( . What would be a great application(maybe I will put together one myself) that you can just point to a table in a db, and the app creates maybe a data entry class for that table or even just a nicely formatted php Code that I can work off, not the entire html page/form colours etc.

Anyway :)

Thanks for the assistance.