8 messages in com.mysql.lists.mysqlRe: Basic database design question| From | Sent On | Attachments |
|---|---|---|
| Rodney Broom | 08 Nov 2000 12:03 | |
| Rolf Hopkins | 08 Nov 2000 17:39 | |
| David Cross | 08 Nov 2000 18:04 | |
| Yoga A. Santosa | 08 Nov 2000 19:10 | |
| David Hodgkinson | 09 Nov 2000 01:04 | |
| Craig McKay | 09 Nov 2000 01:08 | |
| lancelot_ | 09 Nov 2000 02:49 | |
| Robert Goff | 09 Nov 2000 09:25 |
| Subject: | Re: Basic database design question![]() |
|---|---|
| From: | lancelot_ (lanc...@sdnet.hr) |
| Date: | 11/09/2000 02:49:23 AM |
| List: | com.mysql.lists.mysql |
It is a pretty vague problem ...
You can setup some "universal" columns, but you don't ahve a clue how many
columns you require in future.
It is possible to create a script that can create new columns, but I think that
will cause you many problems.
S.
At 21:05 2000.11.08 -0500, David Cross wrote:
This is not directly a MySQL question but I am using PHP and MySQL for this project so here is my question . . .
I'm new to designing databases and this is the problem I face. In my database I have a table called PRODUCTS with fields such as Name, Description, and Price. Users will be adding their products via PHP scripts to the database. However, some products may need additional "custom" fields that we may not know about ahead of time such as size, length, colors, or any others that someone may need sometime down the road. How do I set up the database in advance to account for people adding products that may need some "custom" fields?
Forgive me if this is too vague or elementary or for most of you but after reading through the archives I found some similar information and thought you guys wouldnt mind helping a new guy out.
Thanks,
Dave
--
--------------------------------------------------------------------- Please check "http://www.mysql.com/documentation/manual.php" before posting. To request this thread, e-mail mysq...@lists.mysql.com
To unsubscribe, send a message to: <mysql-unsubscribe-lancelot_=sdne...@lists.mysql.com>
If you have a broken mail client that cannot send a message to the above address (Microsoft Outlook), you can use: http://lists.mysql.com/php/unsubscribe.php




