select unique values from an array
| From: | Peter Gumbrell | Date: | Sat, 01 Feb 2003 17:39:32 +0000 |
| Subject: | select unique values from an array | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-133891@lists.php.net to get a copy of this message | ||
I am attempting to populate form elements from a text file which has been
read and split into arrays. Some of the items are repeated many times: grade
level, for example. Is there a way of just selecting unique values so that
each value is displayed only once in the check boxes or radio buttons?
Many thanks
Peter Gumbrell
peter@orillia.net