Ack, yes - my bad. Missed the select name square brackets when I sent my
example.
And yeah, the only real difference between a multiple select and checkbox is
which works best with the UI (and, more often than not, how confused the
concept of multiple selects makes your end-user)
--
for (thought
A *multiple* select control, as in Phil's initial request will return an
array, however.
> -Original Message-
> From: tedd [mailto:tedd.sperl...@gmail.com]
> Sent: 16 June 2009 15:58
> To: PJ; php-general@lists.php.net
> Subject: Re: [PHP] populate form input option dropdown box from exis
June 2009 15:55
To: Matthew Croud
Cc: Dajve Green; PHP General list
Subject: Re: [PHP] difference between two times? Date_diff and
DateTime::diff
The first example here may help:
http://us3.php.net/manual/en/function.time.php
2009/6/16 Matthew Croud
Hi
Yeah, I used to write that way but found I and others in the team saved a
lot more time troubleshooting and extending the code when returning 6 months
later if it was more verbose. Horses for courses, I guess.
Also, the selected attribute should be selected='selected' to validate
correctly as xht
Hi Matthew,
A quick note on the DateTime::diff() method - it's only available as from
PHP 5.3, which is currently in release candidate stage, meaning unless you
have your own server running PHP, it won't be available to use (hopefully -
I would be sceptical of any webhost which rolls out RCs on p
> -Original Message-
> From: PJ [mailto:af.gour...@videotron.ca]
> Sent: 15 June 2009 23:10
> To: php-general@lists.php.net
> Subject: [PHP] populate form input option dropdown box from existing data
>
> I am having difficulties figuring out how enter retrieved data into a
> dropdown box
> -Original Message-
> From: Manuel Lemos [mailto:mle...@acm.org]
> Sent: 11 June 2009 07:21
> To: Eddie Drapkin
> Cc: PHP General Mailing List
> Subject: [PHP] Re: Form handling
>
> Hello,
>
> on 06/10/2009 03:10 PM Eddie Drapkin said the following:
> > I've been charged with writing a
7 matches
Mail list logo