Date index for Oct 2003
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [achievo] Getting search criteria from $ATK_VARS['atksearc h']
Hi,
Sebastian Paul Avarvarei wrote:
User: <select name='atksearch[userid][]'>
<option value=''>Search all<option value='x'>User X<option value='y'>User Y
</select>
Multidimensional arrays aren't always handled that well by browsers. I
once created a sort of workaround for it and ATK still uses it.
If you use:
name="atksearch_ae_status[]", atk will convert that to the proper thing.
If that doesn't work, try:
atksearch_amdae_status[]
(amdae stands for ATK's Multi Dimensional Array Encoding. :)
Sounds like a crappy workaround, but after 3 years of ATK, it still
hasn't failed me. :)
Check the atkDataDecode method in atktools.inc for more info. (You don't
have to call this function though, it is done automatically on $ATK_VARS.
Greetings,
Ivo
PS. Can you please disable the 'return receipt request' for messages
that you send to the list?