I am not sure I get what it is you want to do....

>Situation:
>I'm using a DB query to bring back a list of values to populate a 
>selection box on a form. I would like the user to be able to select 
>multiple values.

I dont understand this. You can only select one item from a selct box(?).

>As it stands my code is only returning the last value selected.

So you wants to store them in a "history" array, then??
Is that what you want to do? Is that what you *need* to do?

>I plan to use the selected values to run more queries so I believe the 
>best way to handle multiple values is to put them in an array and then 
>run queries based on the array.

Why don't you uses check boxes or radiation buttons instead?
It seams more proper to use them in this situation... or?

>That's the next stage
>How should I change this code to have $earnType return multiple values
>I'm guessing this is a mix of the html & php But I'm betting someone 
>else has solved this already.


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to