Follow us on Twitter!
Never in the field of human conflict was so much owed by so many to so few. - Winston Churchill
Monday, April 21, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 29
Guests Online: 26
Members Online: 3

Registered Members: 82857
Newest Member: varshith_kh
Latest Articles
View Thread

HellBound Hackers | Computer General | Programming

Author

Multidimentional Arrays in PHP


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 14-08-06 13:16
I have been working with multidimentional arrays for a couple of days and am wondering whether it is possible to do what I am trying to do.

What I want to do is see whether I can create a line through the array and compare it to the array ie

$fruit = array(
"apples" => array( "english" => array ( "grannysmith", "cox", "marks"Wink,
"american" => array ("tom", "dick", "harry"Wink,
"french" => array ("blah"Wink
)
"bananas" => array( "carribean" )
)

I then what to compare it to a string such as

apples-french-blah (Which would return true) or
bananas-french-tom (Which would return false)

Is this possible?

Thanks

mozzer