Re: [PHP-DB] Query with numbers like 1, 3, 5..........

2002-02-07 Thread Raymond Lilleodegard
So... is it possible to get two datarows in one: > > > >do { > > > >} while (mysql_fetch_array() ); > > > >?? or is this a stupid way to do it? > > > >Reagrds Raymond > >- Original Message - > >From: "Rick Emery" <[EMAIL PROTEC

RE: [PHP-DB] Query with numbers like 1, 3, 5..........

2002-02-07 Thread Rick Emery
I like Mike's WHILE-loop better than my solution. thanks, Mike -Original Message- From: Mike Gohlke [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 07, 2002 3:56 PM To: Raymond Lilleodegard; [EMAIL PROTECTED] Subject: Re: [PHP-DB] Query with numbers like 1, 3, 5..

Re: [PHP-DB] Query with numbers like 1, 3, 5..........

2002-02-07 Thread Mike Gohlke
iginal Message - >From: "Rick Emery" <[EMAIL PROTECTED]> >To: "'Raymond Lilleodegard'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> >Sent: Thursday, February 07, 2002 8:55 PM >Subject: RE: [PHP-DB] Query with numbers like 1, 3, 5.. >

RE: [PHP-DB] Query with numbers like 1, 3, 5..........

2002-02-07 Thread Rick Emery
February 07, 2002 3:37 PM To: [EMAIL PROTECTED] Subject: Re: [PHP-DB] Query with numbers like 1, 3, 5.. Hi again Rick! : ) It is because I am trying to list all products that I have in a database into a "menu page". And I would like to have two products beside eachothers

Re: [PHP-DB] Query with numbers like 1, 3, 5..........

2002-02-07 Thread Raymond Lilleodegard
y to do it? Reagrds Raymond - Original Message - From: "Rick Emery" <[EMAIL PROTECTED]> To: "'Raymond Lilleodegard'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, February 07, 2002 8:55 PM Subject: RE: [PHP-DB] Query with numbe

RE: [PHP-DB] Query with numbers like 1, 3, 5..........

2002-02-07 Thread Jonathan Hilgeman
] Subject: Re: [PHP-DB] Query with numbers like 1, 3, 5.. select * from table where id in (1,3,5,10,'etc') At 08:22 PM 2/7/2002 +0100, Raymond Lilleodegard wrote: >Hi! > >Is there a way to get the rows with id's like 1, 3, 5, and so on or 2, 4, 6, >...

Re: [PHP-DB] Query with numbers like 1, 3, 5..........

2002-02-07 Thread Jeremy Peterson
select * from table where id in (1,3,5,10,'etc') At 08:22 PM 2/7/2002 +0100, Raymond Lilleodegard wrote: >Hi! > >Is there a way to get the rows with id's like 1, 3, 5, and so on or 2, 4, 6, >...? > > >Best regards Raymond > > > >-- >PHP Database Mailing List (http://www.php.net/) >To unsu

RE: [PHP-DB] Query with numbers like 1, 3, 5..........

2002-02-07 Thread Rick Emery
Yes, but the question is why? -Original Message- From: Raymond Lilleodegard [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 07, 2002 1:22 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] Query with numbers like 1, 3, 5.. Hi! Is there a way to get the rows with id's like 1, 3, 5,