Re: QuickForm and select
| From: | john dot f dot kline at att dot net | Date: | Wed, 06 Jul 2005 19:22:00 +0000 |
| Subject: | Re: QuickForm and select | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-19883@lists.php.net to get a copy of this message | ||
$selectArray['select'] = 'select';
while($row = $result->fetchRow())
{
....
$name=$row[0];
$value=$row[1];
$selectArray[$name] = $value;
}
-------------- Original message from Gerard Bowe <gerard.bowe@jrc.it>: --------------
> Is there a way to set the default to --Select--. I am > population the from a database, and
> the first row is always
> selected?
>
> thanks
>
> --
> PEAR General Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>