|
Posted by Lorenzo Bettini on 01/15/07 14:59
J.O. Aho wrote:
> Lorenzo Bettini wrote:
>
>> 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.
>
> What about using mysqldump?
>
I know that too, but I'd like then to be able to recreate the table from
php; do you actually suggest to load from php that file and using a
mysql_xxx command to recreate the table?
I'd like to have a finer grain control: e.g., being able to have all the
structure fields, but create only on field...
--
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]
|