In a message dated 2/1/2003 9:39:55 AM Pacific Standard Time,
[EMAIL PROTECTED] writes:
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?
Take a look at the function array_unique() which removes duplicate values
from an array. Perhaps this function can help you.
Janet
--
Janet Valade
Author, PHP MySQL for Dummies
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php