ok, is there any way i can get rid of the '$temp' variable in the following code?
im trying to create a new menuItem inside the array in the menuItem inside of
$masterMenu[1]...
PHP:
$masterMenu[1] = new menuItem();
$masterMenu[1]->setItem('<a href = "/main.php?page=wow" class = "nav level1">World of Warcraft</a>', array());
$temp = $masterMenu[1]->getArray();
$temp[0] = new menuItem();
any ideas?