Re: Filling a dropbox on form
| From: | Paul Burney | Date: | Sat, 19 May 2001 05:33:33 +0000 |
| Subject: | Re: Filling a dropbox on form | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-9461@lists.php.net to get a copy of this message | ||
on 5/18/01 8:16 PM, Howard Picken at hpicken@our.net.au wrote:
> Does any one know of way to fill a dropbox that
> reduces the list of items as you type in more
> info.
>
> I have a dropbox that fills with data from
> a MySQL db and it wrks fine. Except that now
> the list has grown to more then 300 uniquie items
> it's a pain to select from it.
It can't really be done in PHP because PHP is server-side. You'll need a
client-side language (e.g., JavaScript) to do it. They may have something
for this on:
<http://javascript.internet.com/>
Other than that, you could have the user do a limiting search on the DB for
the item first, and then make the drop box from that.
HTH,
Paul Burney
http://paulburney.com/