Multi-select inputs and naming

From: Date: Mon, 10 Mar 2003 18:24:03 +0000
Subject: Multi-select inputs and naming
Groups: php.general 
Request: Send a blank email to php-general+get-138990@lists.php.net to get a copy of this message
Hello, Am I correct in my understanding that for a multi-select input, PHP requires that the name attribute end with square brackets (i.e. <select name="my_select[] multiple>") in order for the submission be handled properly? I know this is somewhat nit-picky, but this seems to unnecessarily expose the underlying technology such that scanning the HTML source reveals that a PHP script will ultimately parse the submission. I'm hoping there's some alternative technique I've missed... -Dan

« previous php.general (#138990) next »