Re: QuickForm's date element / addEmptyOption
| From: | Justin Patrin | Date: | Sun, 31 Jul 2005 21:27:54 +0000 |
| Subject: | Re: QuickForm's date element / addEmptyOption | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-20200@lists.php.net to get a copy of this message | ||
On 7/31/05, Mark Wiesemann <wiesemann@php.net> wrote:
> Hi,
>
> I'm using QuickForm's date element with addEmptyOption = true. In all my
> projects this works as expected. But today after uploading a project on
> a new server I got a strange behaviour: The empty options in alle date
> fields were arranged at the end of the select lists.
>
> On the server the same PEAR files are used, I have checked both the
> include_path (contains only the uploaded PEAR path, not any other PEAR
> paths that may exist on this server) and the HTML/QuickForm/date.php -
> exactly the same file as on my local machine is used.
>
> Any ideas how to solve this?
>
....+ should work fine. It also keeps the keys. It should not be
working differently on the different machines. Could you try making a
simple test case (e.g. just 2 arrays being added with +) which
displays this?
--
Justin Patrin