note 29044 deleted from function.array-reverse by didou

From: Date: Wed, 21 May 2003 13:31:35 +0000
Subject: note 29044 deleted from function.array-reverse by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-48736@lists.php.net to get a copy of this message
Note Submitter: m.weber@luna-park.de ---- If you want to reverse an array with numerical indexes, you can keep them by using following code: do { $part1=key($gruppenarr); $part2=current($gruppenarr); $gruppenarr2[$part1]=$part2; } while(prev($gruppenarr)); input is $gruppenarr output is $gruppenarr2

« previous php.notes (#48736) next »