confused about logic

From: Date: Fri, 19 Mar 2004 15:45:43 +0000
Subject: confused about logic
Groups: php.general 
Request: Send a blank email to php-general+get-180970@lists.php.net to get a copy of this message
Hi All, I have input for where users can enter order numbers in which to search the database to find results matching their entry. To enter multiple order numbers they can comma separate like: 1,34,21,34,54 What I need to do is take those numbers and make a query that would like like: (cart_id in('1','34','21','34','54') OR id in('1','34','21','34','54')) ANY idea how I can accomplish this? Thanks all! Aaron

« previous php.general (#180970) next »