a quick question about array keys
| From: | Tontonq Tontonq | Date: | Tue, 31 Aug 2010 15:43:07 +0000 |
| Subject: | a quick question about array keys | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-307765@lists.php.net to get a copy of this message | ||
a quick question
lets say i have an array like that
Array
(
[300] => 300
[301] => 301
[302] => 302
[303] => 303
[304] => 304
[305] => 305
[306] => 306
[307] => 307
[308] => 308
...
how can i change keys to 0,1,2,3,.. by faster way
(it should like that) >
Array
(
[0] => 300
[1] => 301
[2] => 302
[3] => 303
....