note 10235 added to array_flip

From: Date: Wed, 20 Dec 2000 11:45:53 +0000
Subject: note 10235 added to array_flip
Groups: php.notes 
Request: Send a blank email to php-notes+get-8950@lists.php.net to get a copy of this message
if you're using PHP < 4.0 try this function : function array_transpose($alpha) { while (list($key, $val) = each($alpha)) { $beta[$val] = $key; } return $beta; } http://www.php.net/manual/function.array-flip.php

« previous php.notes (#8950) next »