[PHP] Re: Array unset

2004-11-17 Thread Greg Beaver
Bruno b b magalhães wrote:
So, the question, how resort the numeric values to 1,2,3,4?
http://www.php.net/array_values
Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Re: Array unset

2004-11-17 Thread Sebastian Mendel
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/phpdatetimewww.sf.net/projects/phptimesheet
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php