Re: Multiple sizes for products

From: Date: Sun, 19 Jan 2003 00:28:58 +0000
Subject: Re: Multiple sizes for products
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-132143@lists.php.net to get a copy of this message
If your customer views these items as different products then store them as separate records in the same table. My $0.02 Hugh ----- Original Message ----- From: <icaam@icaam.com.ar> To: <php-general@lists.php.net> Sent: Saturday, January 18, 2003 11:55 AM Subject: [PHP] Multiple sizes for products Hi all, I'm making this web site, where the owner or administrator will be able to upload new products and these products come in different sizes. Now, I made a table in MySQL o store the products but only with a VARCHAR field where the administrator will store the sizes like "12, 14, 16 and 18". I would like to store the sizes for each product in a different table, but my question refers on how to do this... one product per row with all the different sizes (which will leave too many blank fields in every row) or one size per row, making several rows per product. Thanks in advance, Cesar L. Aracena icaam@icaam.com.ar caracena@infovia.com.ar (0299) 156-356688 Neuquén (8300) Capital Argentina -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#132143) next »