Re: Array unset

From: Date: Wed, 17 Nov 2004 17:08:43 +0000
Subject: Re: Array unset
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-202322@lists.php.net to get a copy of this message
Bruno b b magalhães wrote:
The problem is that when I delete an specific array, it outputs something like this: (
    [0] => Array
        (
            [moduleId] => 4
            [moduleName] => Contents
            [modulePath] => contents
            [moduleAliasPath] =>
            [moduleController] => administration
            [moduleLevel] => 5
            [moduleOrder] => 0
            [moduleVisibility] => 1
            [moduleType] => none
            [moduleStatus] => 1
        )
    [2] => Array
        (
            [moduleId] => 1
            [moduleName] => System
            [modulePath] => system
            [moduleAliasPath] =>
            [moduleController] => administration
            [moduleLevel] => 5
            [moduleOrder] => 2
            [moduleVisibility] => 1
            [moduleType] => default
            [moduleStatus] => 1
        )
    [3] => Array
        (
            [moduleId] => 2
            [moduleName] => Logout
            [modulePath] => logout
            [moduleAliasPath] =>
            [moduleController] => administration
            [moduleLevel] => 5
            [moduleOrder] => 3
            [moduleVisibility] => 1
            [moduleType] => alias
            [moduleStatus] => 1
        )
) So, the question, how resort the numeric values to 1,2,3,4?
which "numeric values" ? -- Sebastian Mendel www.sebastianmendel.de www.warzonez.de www.tekkno4u.de www.nofetish.com www.sf.net/projects/phpdatetime www.sf.net/projects/phptimesheet

« previous php.general (#202322) next »