Jump to content

Recommended Posts

I wanted to create a table that is based on the values inside another table

 

example:

 

table emp

id emp

1 sec

2 pres

 

 

what I want is when I add another data there it will auto create a table for them

 

 

Hope someone can help tnx!

Edited by Taku
Link to comment
https://forums.phpfreaks.com/topic/274663-help-guys-about-creating-tables/
Share on other sites

sorry for double post I cant edit the one above

 

what I want to happen is auto-create a table that has a name based on the column emp... or when a user entered a data.. it will auto-create a table for that data

Edited by Taku

well here is what I wanted to do...

 

1. I will choose a add function and then enter the name of that new branch

2. And then I want that branch to auto create a table after putting it in? or after pressing a button?

3. And then I want a drop down list thingy that will show all the branches, including the new one and then show its table

 

:B yah I really need to logic on this one.. `.` tnx for replies

WHY do you want a whole new table?

 

You should do some basic research on database design. 

 

What you just described isn't business logic, it's a workflow. Which is not useful to determine why you're trying to do something VERY BAD.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.