note 46956 deleted from function.array-unshift by sean
| From: | sean@php.net | Date: | Thu, 28 Oct 2004 16:18:48 +0000 |
| Subject: | note 46956 deleted from function.array-unshift by sean | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-79275@lists.php.net to get a copy of this message | ||
Note Submitter: bytesdesign at mail dot ru
----
foreach ($menu as $tmp_key => $tmp_value)
{
if ($tmp_key==$section){
$tmp_menu[$newsectname]=$tmp_value;
}
else
{
$tmp_menu[$tmp_key]=$tmp_value;
}
}
$menu=$tmp_menu;
unset($tmp_menu,$tmp_key,$tmp_value);
----
Reason: useless note