Re: [PHP] WHERE field = a range of values (value

2011-05-25 Thread Paul S
On Tue, 24 May 2011 23:47:47 +0700, Paul S pau...@roadrunner.com wrote: On Tue, 24 May 2011 21:09:34 +0700, Richard S. Crawford rscrawf...@mossroot.com wrote: On Tue, May 24, 2011 at 6:51 AM, Paul S pau...@roadrunner.com wrote: I'd like to check a table to retrieve rows for which one field

[PHP] WHERE field = a range of values (value

2011-05-24 Thread Paul S
I'd like to check a table to retrieve rows for which one field equals one of a set of values #get products(fields) in category list while ($row = $db_connect-fetch_array($productsincategory_list)) { $product = $row ['selection']; $fields = $fields . $product,; }

Re: [PHP] WHERE field = a range of values (value

2011-05-24 Thread Richard S. Crawford
On Tue, May 24, 2011 at 6:51 AM, Paul S pau...@roadrunner.com wrote: I'd like to check a table to retrieve rows for which one field equals one of a set of values #get products(fields) in category list while ($row = $db_connect-fetch_array($productsincategory_list)) { $product

Re: [PHP] WHERE field = a range of values (value

2011-05-24 Thread Paul S
On Tue, 24 May 2011 21:09:34 +0700, Richard S. Crawford rscrawf...@mossroot.com wrote: On Tue, May 24, 2011 at 6:51 AM, Paul S pau...@roadrunner.com wrote: I'd like to check a table to retrieve rows for which one field equals one of a set of values #get products(fields) in category