View Single Post
Old 02-26-2013, 11:13 AM   PM User | #9
Arcticwarrio
Regular Coder

 
Arcticwarrio's Avatar
 
Join Date: May 2012
Location: UK
Posts: 624
Thanks: 16
Thanked 70 Times in 70 Posts
Arcticwarrio is on a distinguished road
YOU STILL HAVE 1 = IN THE MENU.TXT LINK YOU POSTED:

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

.

if ($v1 = $v2) { should be if ($v1 == $v2) {
__________________
There are 10 types of people on CodingForums,
Those who understand Binary and those who dont.
Arcticwarrio is offline   Reply With Quote