note 15254 added to function.array-slice
| From: | steven at fouraster dot com | Date: | Mon, 03 Sep 2001 12:53:33 +0000 |
| Subject: | note 15254 added to function.array-slice | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-17564@lists.php.net to get a copy of this message | ||
Use array_values() to get all of the keys back in order:
$array = array_values(array_slice(...));
http://www.php.net/manual/en/function.array-slice.php