php-general | 2003022
Date: 02/23/03
- Next message: Sebastian: "Re: [PHP] includes || perl"
- Previous message: olinux: "Re: [PHP] Flash interaction with PHP"
- Next in thread: John W. Holmes: "RE: [PHP] re-populate array keys"
- Reply: John W. Holmes: "RE: [PHP] re-populate array keys"
- Reply: - Edwin: "Re: [PHP] re-populate array keys"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, after asort()ing an array, the numeric keys are obviously out of order.
what i'd like to do is reset the keys, starting at zero.
is there a function for this, or do I just walk through the array with a
foreach() and do it manually?
Justin
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: Sebastian: "Re: [PHP] includes || perl"
- Previous message: olinux: "Re: [PHP] Flash interaction with PHP"
- Next in thread: John W. Holmes: "RE: [PHP] re-populate array keys"
- Reply: John W. Holmes: "RE: [PHP] re-populate array keys"
- Reply: - Edwin: "Re: [PHP] re-populate array keys"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

