Posts: 8
Threads: 2
Joined: Jan 2014
Reputation:
0
Hi everyone. I want to ask if somebody found any solution how to use enum variables to create table in mysql.
If the enum has pLevel, pMoney etc.. just create table with theese variables. Thanks in advance.
Posts: 8
Threads: 2
Joined: Jan 2014
Reputation:
0
Sorry my mistake for not giving enough details. The problem is that i need to pull all the variables automaticly then create table. I need it to be automated. Not me inserting variables one at a time.
Posts: 8
Threads: 2
Joined: Jan 2014
Reputation:
0
Let me make this easier. Is there any way to print names of the variables from the enum. For creating the table i will work something out.