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?
Need a database table generating php script
Moderator: General Moderators
Re: Need a database table generating php script
Hi,
just create the specific MySQL Statement (CREATE TABLE (...);) and send it with mysql_query() to your database.
just create the specific MySQL Statement (CREATE TABLE (...);) and send it with mysql_query() to your database.