i am wondering on how to make a combo box that query without button

<select name="item">
<option value"item1">item1</option>
<option value"item2">item2</option>
</select>

for example they choose item1, the system should select item1 from table mysql_query("select * from table WHERE item='$_POST[item]'");

so the result will be:
ID | item
1 | item1

You can use ajax for that.
call ajax function onchangeevent of the dropdownmenu.
To show example using ajax
Click Here

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.