note 94094 modified in language.types.array by danbrown

From: Date: Thu, 15 Oct 2009 22:13:25 +0000
Subject: note 94094 modified in language.types.array by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-161795@lists.php.net to get a copy of this message
I found this useful for appending onto an array without writing over previous values <?php $ar[0] = "value"; $ar[sizeof($ar)] = "newvalue"; print_r($ar); ?> --was-- I found this useful for appending onto an array without writing over previous values <? $ar[0] = "value"; $ar[sizeof($ar)] = "newvalue"; print_r($ar); ?> http://php.net/manual/en/language.types.array.php

« previous php.notes (#161795) next »