Array Indexing

From: Date: Tue, 22 Oct 2002 16:08:55 +0000
Subject: Array Indexing
Groups: php.general 
Request: Send a blank email to php-general+get-120936@lists.php.net to get a copy of this message
Is it posiable to set the position marker of an array, appart from moving it to the top, bottom or indexing using next and previous? If..... define (MIDDLE_INDEX, 20); Can pos be set to MIDDLE_INDEX? mixed pos ( array array) returns the current position in the array. array( 1 => X, 2 => Y, 3 => Z, .........., 40 => END ); Can we set pos to point to a location so that we can then use the next / current functions? Trevor

« previous php.general (#120936) next »