Re: PHP, SQL, AJAX, JS and populating a SelectBox?
| From: | dave | Date: | Sat, 18 Mar 2006 18:29:45 +0000 |
| Subject: | Re: PHP, SQL, AJAX, JS and populating a SelectBox? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-232186@lists.php.net to get a copy of this message | ||
hi, i used
http://www.ajaxfreaks.com/tutorials/6/3.php?topic_id=73&hl=104#104
it works just fine, i implemented to one of my web, so far so good. Hope
it's what u are looking for
Daevid Vincent wrote:
> I need to dynamically update a select box
> with results from a SQL database using AJAX,
> but I can't find a single example of how to do this.
>
> Basically I have a text input field, and a select box.
> As someone types in the input field,
> I want the select box to fill in the results of matches.
>
> I can fill in a <DIV> (as per the ten million examples out there)
> and that's all fine and dandy, but way too simplistic for what I need.
>