Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Auto fill dropdown combo box



4:23 am on Mar 27, 2008 (gmt 0)

10+ Year Member


Is there any way of extracting then auto selecting items in a combo dropdown list with the data fetched from a db query?

The data is stored in the database like this 'Wool>Action Toys>For Babies & Kids'

<td width="200"><font class="maintext">XML Feed Categories</font></td>
<td width="300">
<select multiple="yes" size="5">

<option>For Babies & Kids</option>
<option>For Boys</option>
<option>For Girls</option>
<option>For Kids</option>


<option>For Babies & Kids</option>
<option>Babies (0-12months)</option>
<option>Toddlers (1-3years)</option>
<option>Preschoolers (3-6years)</option>


<option>Action Toys</option>
<option>Activities & Learning</option>
<option>Arts & Crafts</option>
<option>Building Sets, Blocks & Models</option>
<option>Bathtime Toys</option>
<option>Board Games, Card Games & Puzzles</option>
<option>Dolls & Doll Accessories</option>
<option>Educational Toys</option>
<option>Role Play, Dress Ups & Costumes</option>
<option>Soft Toys</option>
<option>Toys & Games for Babies</option>




Any help would be greatly appreciated :)


4:53 am on Mar 27, 2008 (gmt 0)

10+ Year Member

in other words....

I wanted to query the db / column 'feed_categories' to check whether there is a match, if there is make the list option selected.


7:45 pm on Mar 27, 2008 (gmt 0)

10+ Year Member

can anyone help?

Featured Threads

Hot Threads This Week

Hot Threads This Month