View Single Post
Old 02-26-2013, 10:22 AM   PM User | #5
Arcticwarrio
Regular Coder

 
Arcticwarrio's Avatar
 
Join Date: May 2012
Location: UK
Posts: 574
Thanks: 15
Thanked 64 Times in 64 Posts
Arcticwarrio is on a distinguished road
PHP Code:
$menuxml[0]["SimpleXMLElement Object"][0
= "Start"

so this should work:

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

__________________
There are 10 types of people on CodingForums,
Those who understand Binary and those who dont.

Last edited by Arcticwarrio; 02-26-2013 at 10:24 AM.. Reason: added PHP tags
Arcticwarrio is offline   Reply With Quote