headache now as well, which just isn't
helping right now... *shrugs*
Any ideas?
- Original Message -
From: "Dan Nelson" <[EMAIL PROTECTED]>
To: "Chris Knipe" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, June
In the last episode (Jun 05), Chris Knipe said:
> Does anyone have and ideas of wisdom on how to compare arrays (mysql
> result sets) and group items based on if they exist in two or more
> arrays?
>
> Now, I want to compare group1 against the server list, and do something like
> the following:
>
You can use in_array or array_search.
> hey everyone,
>
> Does anyone have and ideas of wisdom on how to compare arrays (mysql result
> sets) and group items based on if they exist in two or more arrays?
>
> For example:
>
> I have a table, with a list of servers:
> server1
> server2
> server3
> s
hey everyone,
Does anyone have and ideas of wisdom on how to compare arrays (mysql result
sets) and group items based on if they exist in two or more arrays?
For example:
I have a table, with a list of servers:
server1
server2
server3
server4
server5
...
serverX
I have a table that specifies w