$new_array[1] = 'something'; - or - $new_array = array(1=>'something'); ----- Original Message ----- From: Afan Pasalic <[EMAIL PROTECTED]> Date: Monday, October 18, 2004 1:14 pm Subject: [PHP] setting index of array as 1
> 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 > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php