ID: 13718 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Feature/Change Request Operating System: All PHP Version: 4.0.6 New Comment:
Then shouldn't its Status be "Duplicate" instead of "Bogus"? Additionally, of the two I think this one is the better report -- it certainly has a better proposed solution, which matches what is in the PHP TODO file to boot! Previous Comments: ------------------------------------------------------------------------ [2002-03-07 13:39:30] [EMAIL PROTECTED] this is a duplicate of #10502. ------------------------------------------------------------------------ [2002-03-06 09:10:49] [EMAIL PROTECTED] You have this feature as a "possible" in the PHP To-Do list, so I think this report ought to be reclassified from Bogus. At least then we could vote on it so you could see what the level of support for it is. Cheers! ------------------------------------------------------------------------ [2001-10-24 18:58:56] [EMAIL PROTECTED] I'm sorry to keep bringing this issue to light, but this actually would mimic that of your existing functionality. If you name an element in a form with a [] that does not garuntee that the variable on the other end will be an array. If there is only one element posted with that name followed by [] it will end up as a standard variable. So, I again make the plea: If you have more than one element with the same name with or without a [] it will come out an array. If you have one element with or without a [] it will come out the other end as a single variable. It is possible that you actually intended for the single element with [] to come out as an array, if that is the case, I guess you should consider this a bug report for the functionality of trailing [] in forms. ------------------------------------------------------------------------ [2001-10-18 11:38:37] [EMAIL PROTECTED] Oh, I'm sorry, I missunderstood you. I understand what you are getting at, ambiguity can be a problem. I guess I'll just deal with using the suggestion of indexing on a string in javascript. Thank you for all your help. ------------------------------------------------------------------------ [2001-10-18 11:33:49] [EMAIL PROTECTED] no, i didn't ;) i just tried to describe what would happen *if* we would follow your suggestion and that it is a not so good idea after all (although we definetly should have a look at the [] syntax regarding standard conformance) ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/13718 -- Edit this bug report at http://bugs.php.net/?id=13718&edit=1