Re: Important change in QuickForm select element
| From: | Peter Bowyer | Date: | Tue, 18 Jun 2002 20:12:40 +0000 |
| Subject: | Re: Important change in QuickForm select element | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-7199@lists.php.net to get a copy of this message | ||
At 13:38 18/06/02 +0200, Bertrand Mansion wrote:
Hi, I have changed the way values are loaded in the select elements in QuickForm. It used to be $array = array('Linux' => 1, 'Windows' => 2); Now it is $array = array(1 => 'Linux', 2 => 'Windows'); If nobody complains, I will make a new release with these modifications.Go for it! I've just spent 10 minutes wondering why the values were displaying wrongly, until I remembered this post :-) Peter -- Maple Design - quality web design and programming http://www.mapledesign.co.uk