note 77850 deleted from ref.array by felipe
| From: | felipe@php.net | Date: | Sun, 30 Dec 2007 19:30:48 +0000 |
| Subject: | note 77850 deleted from ref.array by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-134535@lists.php.net to get a copy of this message | ||
Note Submitter: James Churchman
----
very simple tip.. if you want an array's keys.. but not the values in it then this will do the
trick
$keys_only_array = array_flip(array_keys($origional_array_with_keys_and_values));
james