Re: Multiple selects?

From: Date: Tue, 09 Apr 2002 05:09:41 +0000
Subject: Re: Multiple selects?
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-18339@lists.php.net to get a copy of this message
Hi Bob, That would be just about what I am looking for. And I wouldn't mind seeing the code you have. Thanks Jennifer <phplists@woodenpickle.com> wrote in message news:20020409045737.64368.qmail@pb1.pair.com... > Are you talking about something that will display a list of products like > this page: > > http://survivalherbs.com:8080/order/index.php?command=viewCategory&category= > Herbal+Remedies > > These are all gathered from the database with one SELECT statement then put > together in the table with a while loop.. Is that what you're talking about? > If so, I have the code for it. I wrote the cart that is hosted on that page > and can post some code from it if you would like.. > > Thanks, > > Bob Weaver > > "Jennifer Downey" <jendowney@attbi.com> wrote in message > news:20020409035228.24025.qmail@pb1.pair.com... > > Hi all, > > > > You are probably getting tired of me asking questions but I have another > and > > will try to keep them down from now on. > > > > If I have let's say five items with different id's, image's and so forth > how > > do I display all items on one page. Do I have to use multiple selects > > or is there another easier way? > > > > Also what if I have 5 items that I can buy with id's > > 1, 2, 3, 4 and 5 and lets say that I bought items 2 and 5 but not 1, 3 and > 4 > > how do I display 2 and 5 but let's say I don't know the id's. > > > > I used > > > > $id = $HTTP_GET_VARS["id"] > > > > > > to buy them and have tried to use it to display them but I have to know > the > > id's in order to make it work with multiple selects. > > > > Am I being making sense here? Kinda doesn't make sense to me and I know > what > > I am trying to say but I don't think it worked. > > > > A good tutorial or help would be appreciated. > > > > Thanks > > Jennifer > > > > > > --- > > Outgoing mail is certified Virus Free. > > Checked by AVG anti-virus system (http://www.grisoft.com). > > Version: 6.0.344 / Virus Database: 191 - Release Date: 4/2/2002 > > > > > > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.344 / Virus Database: 191 - Release Date: 4/2/2002

« previous php.db (#18339) next »