how to create multiple selects within php

From: Date: Mon, 18 Oct 2004 14:07:11 +0000
Subject: how to create multiple selects within php
Groups: php.general 
Request: Send a blank email to php-general+get-199721@lists.php.net to get a copy of this message
hi... i can create a form with a single select by something like: <form> <select name='foo'> <option val='1'>fff</option> <option val='2'>aaa</option> </select> <input > </form> however, i need to know how to create a multiple menu/list within a single form. i've tried a few different approaches, but i'm doing something wrong, in that the querystring is being populated with a value for the select list var even though i don't select the item. if someone can point me to an actual working example of php code that generates multiple lists/menus within a form, i'd appreciate it!! thanks -bruce ps. if needed, i can supply the actual test code i've used to create the condition i'm describing...

« previous php.general (#199721) next »