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
|