Re: [PHP] while inside a while or join or...

2004-05-16 Thread John W. Holmes
T. H. Grejc wrote: Hallo, I know of a few ways of doing this but I am not sure that any is right. I want to consult with you what is the best way of doing this: Table 1: ++-+ | *a* | *b* | ++-+ | 2 | 1| ++-+ | 2 | 2| ++-+ Table 2: ++-+ | *b*

Re: [PHP] while inside a while or join or...

2004-05-16 Thread Curt Zirzow
* Thus wrote T. H. Grejc ([EMAIL PROTECTED]): > Hallo, > > I know of a few ways of doing this but I am not sure that any is right. > I want to consult with you what is the best way of doing this: > > ... > > I would like to select all 'b' from Table_1 WHERE a = '2' and then to > select all 'd'

Re: [PHP] while inside a while or join or...

2004-05-16 Thread Rachel Rodriguez
> > I would like to select all 'b' from Table_1 WHERE a > = '2' and then to > select all 'd' from table_2 with 'b' from previous > result. > > Table 2 is the Table with UserNames (d) and Table 1 > is the table with > 'marked' UserID's (b). > If I understand you correctly, its sounds like you