note 39389 deleted from function.array-values by didou

From: Date: Tue, 27 Jan 2004 08:39:07 +0000
Subject: note 39389 deleted from function.array-values by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-64238@lists.php.net to get a copy of this message
Note Submitter: ---- What sucks here and I can't find a built in solution - is I have an array with numerical keys and the column id from mysql. [0] => first [user] => first [1] => last [surname => last When I use the array_value() function it clears the [user] and [surname] type keys. Which is exactly what it says it will do. So then how am I to re-apply the string type keys? I would suggest that numeric keys be removed but leave string keys assigned as they were. Just my 2cents.

« previous php.notes (#64238) next »