Re: Array Select from database

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



O.K. Again;
 I have an array with one or more values, which must be selected in the
database
Array ( [count] => 1 [0] => Array ( [clientaccountmanager] => Array (
[count] => 2 [0] => 210 [1] => 149 )
 Now i this is my select..
 I've got the following Query="select * from client WHERE
clientaccountmanager='$value of array1' OR '$2nd value of array 1'"

How can i loop through the query with all the values out of the array as OR
value..
 Thanks,
 Frank
On 9/28/05, Jay Blanchard <jay.blanchard@xxxxxxxxxxx> wrote:
>
> [snip]
> Hope you can help me out..
> Array ( [count] => 1 [0] => Array ( [clientaccountmanager] => Array (
> [count] => 2 [0] => 210 [1] => 149 )
>
> I've got the following Query="select * from client WHERE
> clientaccountmanager='$value of array1' OR '$2nd value of array 1'"
> So that the query loops through the whole array...
> [/snip]
>
> OK. Was there a question?
>

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux