how to intersect value this array?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
destiny_cores
Forum Newbie
Posts: 8
Joined: Fri Mar 17, 2006 9:05 am

how to intersect value this array?

Post by destiny_cores »

i have an array

$a=Array ( [learning] => 5:7:8:9 [institution] => 5:7 )

how to intersect value between [learning] and [institution]?

thanks for your answer
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

array_intersect?

What's the actual structure of the array? Your notation is a bit ...confusing. Colud you please post the var_export($a)?
Post Reply