Follow us on Twitter!
It is the path of least resistance that makes rivers and men crooked. - Bj Palmer
Friday, April 18, 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: 16
Guests Online: 14
Members Online: 2

Registered Members: 82822
Newest Member: TheBunter
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