|
Posted by Carl Pearson on 01/15/07 15:19
Lorenzo Bettini wrote:
> is there any already existing framework that starting from a mysql table
> structure generates the php code to generate that table structure?
>
<semantic mode>
It wouldn't actually *be* PHP code, but MySQL code that generates the
structure. PHP would just be calling its various MySQL functions to
accomplish the task. Though true, it would be PHP code that would have
to extract the data returned by the MySQL calls.
</semantic mode>
That being said, for freeware you could try
http://sourceforge.net/projects/phpmydoc
But it's kinda old, not sure if it works. I fiddled with it and
couldn't get past the welcome screen, it had a funny if based on a var
that only exists in the if, and the form generated in the welcome screen
had no target for the POST. Didn't give it too hard a look, but since
the code is from '02, some of it may be deprecated to the version of PHP
I'm on (5.2.0)
Navigation:
[Reply to this message]
|