> Thanks for the time John.
> Chris's did the trick. I'll keep yours on hand in case I do happen to
> run into problems.
> I DO appreciate your help.
John's solution is actually technically better than mine in that it's only
using
one function call ("str_replace()") and as such only one possible p
> To: Aaron Wolski; [EMAIL PROTECTED]
> Subject: Re: [PHP] confused about logic
>
> From: "Aaron Wolski" <[EMAIL PROTECTED]>
>
> > I have input for where users can enter order numbers in which to
search
> > the database to find results matching their
Chris!
Thanks so much. This worked perfectly
Aaron
> -Original Message-
> From: Chris Boget [mailto:[EMAIL PROTECTED]
> Sent: March 19, 2004 10:59 AM
> To: Aaron Wolski; [EMAIL PROTECTED]
> Subject: Re: [PHP] confused about logic
>
> > To enter multiple orde
From: "Aaron Wolski" <[EMAIL PROTECTED]>
> 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
> 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?
$string = "'" . implode
At 10:45 AM 3/19/2004, you wrote:
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
Let's say you place these in the following variable
$o
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
7 matches
Mail list logo