Jump to content

Archived

This topic is now archived and is closed to further replies.

Eugene

Is this possible?

Recommended Posts

Creating a main table, and then a table inside the main table.

Share this post


Link to post
Share on other sites
No. Why? Maybe I don't even understand the question. Perhaps enum fields are what you want. Maybe we need more detail about specifically what you are trying to accomplish?

Share this post


Link to post
Share on other sites
Ok, someone registers and a table is created in their name.

They have now access to a panel which they can insert information etc...

Can that information be inserted into a table inside their name?

Share this post


Link to post
Share on other sites
It's a really bad idea to create new tables as a result of user actions. You should carefully rethink your design.

What does your site do, what kind of information are users able to store?

Share this post


Link to post
Share on other sites
Or, you could just make a normal table, add whatever it is you're INSERTing, and tack on a user_uid FK and only show them their records; views in 5.0 make these even easier, because then you actually can "create" a view by username! Why make this unnecessarily complicated? And yes, wickning1 is right -- never dynamically create databases/tables/columns.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.