webscripter
Programmer
Hi all,
Can I create a table within a table?
I just installed mysql on win98 home computer and I have a website on a unix server that I'm going to experiment on. So I want to make my code portable of course. Not sure if this matters.
My question is on structure. Here is the scenario:
I have a website building program that allows the user to add their own templates to generate pages. It allows them to create keywords and overwrites the keyword in the template with the value the user types in the text field. Very simple.
The shopping cart for the program uses this same method of keywords for their items.
I can only use one database name.
Therefore I have to create tables to divide my data.
-database (whole site)
-table (one table each folder of cart items)
-table (for each catagory of items)
-table (for each item)
-columns (for keywords)
(Here I need a table within a table, can do that? I would like to list the keywords and their values but that could make a table with hundreds of columns because the keywords can be different for each item.)
Anyone have good tutorial links with an example?
Thanks
Tricia
yorkeylady@earthlink.net
Can I create a table within a table?
I just installed mysql on win98 home computer and I have a website on a unix server that I'm going to experiment on. So I want to make my code portable of course. Not sure if this matters.
My question is on structure. Here is the scenario:
I have a website building program that allows the user to add their own templates to generate pages. It allows them to create keywords and overwrites the keyword in the template with the value the user types in the text field. Very simple.
The shopping cart for the program uses this same method of keywords for their items.
I can only use one database name.
Therefore I have to create tables to divide my data.
-database (whole site)
-table (one table each folder of cart items)
-table (for each catagory of items)
-table (for each item)
-columns (for keywords)
(Here I need a table within a table, can do that? I would like to list the keywords and their values but that could make a table with hundreds of columns because the keywords can be different for each item.)
Anyone have good tutorial links with an example?
Thanks
Tricia
yorkeylady@earthlink.net