httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted <>
Subject Re: Apache2::Request param repetitions
Date Tue, 17 Oct 2006 16:20:39 GMT
That's true, I could do that, but my aim is to have a general purpose
form reader.  I want to loop through all form elements and load
up a hash for processing later.  I could put all encountered param
names in a hash prior to processing, to eliminate the problem, but
thought the issue was worth mentioning.


Jonathan wrote:

> i think its because of the way that you're looping it...
> the browser sends
>     user_status= active
>     user_status= inactive
>     user_status= deleted
> and your loop is picking up all 3
> if you call param('user_status') you should just get an array of  
> ['active','inactive','deleted']   

View raw message