View Single Post
Old 02-26-2013, 01:30 PM   PM User | #11
Arcticwarrio
Regular Coder

 
Arcticwarrio's Avatar
 
Join Date: May 2012
Location: UK
Posts: 585
Thanks: 15
Thanked 65 Times in 65 Posts
Arcticwarrio is on a distinguished road
sorry wrong quote also...

this is the one that works lol

PHP Code:

foreach($menuxml as $k1 => $v1) {
    foreach(
$menufile as $k2 => $v2) {
        if (
$menuxml[$k1]["SimpleXMLElement Object"][0] == $v2) {
                unset(
$menuxml[$k1]["SimpleXMLElement Object"][0]);
        }
    }

__________________
There are 10 types of people on CodingForums,
Those who understand Binary and those who dont.
Arcticwarrio is online now   Reply With Quote