PHP3? too bad...
PHP4 has a magic array_intersect (php.net/array_intersect)
try to see php.net/arrays
you might find what suits you.
you're double loop will slow your application dramatically. but if it's the
only way...
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com
"[EMAIL PROTECTED]" wrote:
>
> I've got two functions that return data in an array. I need to compare the
> individual elements of one array against the elements of another, and do
> something within an if-else statement.
>
> ...
>
If i didn't misunderstood Your question, then this double-loop
2 matches
Mail list logo