You are here: Re: from mysql to php « All PHP « IT news, forums, messages
Re: from mysql to php

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация