note 61501 deleted from ref.array by felipe
| From: | felipe@php.net | Date: | Sun, 30 Dec 2007 19:23:44 +0000 |
| Subject: | note 61501 deleted from ref.array by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-134504@lists.php.net to get a copy of this message | ||
Note Submitter: eddypearson at gmail dot com
----
Little function to remove blank values from an array (will not reorder indexes however):
function CleanA($arr) {
while ($count < count($arr)) {
if ($arr[$count] == "") {
unset($arr[$count]);
}
$count++;
}
return $arr;
}