Page 1 of 1

Need a database table generating php script

Posted: Sat Nov 08, 2008 6:10 am
by sisko
Hi guys,

I need some help on a unique problem.

I'm trying to develop a web service where my users can specify meta-data of a database table. By meta-data I mean the name of the data and them the type.

On doing that, I want to enable them to create a database table from the meta-data they specified.

So I want to know if there is a php script out there which will enable me to do this.

Can anyone help?

Re: Need a database table generating php script

Posted: Sat Nov 08, 2008 8:41 am
by Hannes2k
Hi,
just create the specific MySQL Statement (CREATE TABLE (...);) and send it with mysql_query() to your database.