Re: Array unset

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux