setting index of array as 1
| From: | Afan Pasalic | Date: | Mon, 18 Oct 2004 17:14:46 +0000 |
| Subject: | setting index of array as 1 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-199746@lists.php.net to get a copy of this message | ||
when create an array using:
$new_array[] = 'something';
first index of new array is 0
how can I though set that first index is 1 - except "reorganize" array after is created?
thanks
-afan