| « mySQL DISTINCT FUNCTION(...) bug | RSS filtering » |
PHP oddities :(
10.05.03
PHP oddities :(
Actually I had not really looked into PHP since early version 3 betas... I knew it had gotten better, but sometimes I wonder if I didn't overestimate this... :-/
Looks like PHP 4.3 still requires that you name a collection of checkboxes or a select multiple with a name ending with "[]" such as <input type="checkbox" name="collect[]" value="3" />. That [] makes it impossible to DOM-handle the objects with javascript... but if you don't include the [], you just won't get all the checked values, neither as a table nor as a list... only the last one! :!:
What year is this? 1995? :'(
As far as I remember, ColdFusion and ASP have been handling this elegantly since version 1.0!