|
Posted by Lorenzo Bettini on 01/15/07 14:34
J.O. Aho wrote:
> Lorenzo Bettini wrote:
>> Arjen wrote:
>>> Lorenzo Bettini schreef:
>
>>>> is there any already existing framework that starting from a mysql
>>>> table
>>>> structure generates the php code to generate that table structure?
>>>> Of course it can be programmed with
>>> Yes, it's called phpMyAdmin
>> I'm already using phpmyadmin but didn't find this functionality and I
>> can't still find it... could you please be more specific?
>
> I guess you have to specify more clearly what you want, as phpMyAdmin
> does show you column data, just select a database and then click on one
> of the tables and you get the column names and types and so on.
>
> If you mean a php script that takes a tables as argument and spits out
> php-code how to get out the data in a nice table format, which you then
> can cut'n'paste to your own script, no there isn't a such script.
> It's not that difficult to make a function that works for all tables.
>
> So please, specify more clearly what do you want to do.
>
OK, I need a php framework that reads the structure of a mysql table and
generates php code that can recreate that table in another mysql database.
--
Lorenzo Bettini, PhD in Computer Science, DSI, Univ. di Firenze
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net
Navigation:
[Reply to this message]
|