Since you'll have many pictures per category, category should be in a separate table and linked to a picture via an "id" (i.e. auto increment).


On Apr 26, 2005, at 1:47 PM, Ryan A wrote:

Hey,
am a bit stumped as to how to do this:

We are allowing users to make "categories" , then they upload their pics to
one of these categories.


Should I have two tables:
user_categories
pic_details

or should I use one table for both?

Seems silly , but my heads feeling "loopy" :-p

Thanks,
Ryan



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.10.2 - Release Date: 4/21/2005

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


--
Brent Baisley
Systems Architect
Landover Associates, Inc.
Search & Advisory Services for Advanced Technology Environments
p: 212.759.6400/800.759.0577

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to