php - Variable based tables -


is possible create variable influenced table?

like instead of creating standard table. can let users create custom table. on sign can create table under database , table's name influenced php variable? , same thing fields in table?

for example, $username.table tables , $username_field fields in table?

why? need user able add fields need. sort of letting them create onlin form

then need engineer database allow this. not lazy , create tables form fields. not security risk, never scale well. here poor example of how engineer table based system handle dynamic form generation.

drop table "main"."form"; create table "form" ( "id"  integer not null, "name"  text not null, primary key ("id") ); drop table "main"."form_field"; create table "form_field" ( "form"  integer not null, "id"  integer not null, "name"  text not null, primary key ("form", "id") ); 

hopefully imagination can take here.


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -