Re: [PHP4BETA] FW: [PHP4BETA] please consider this functionality in v4 (fwd)

From: Date: Wed, 16 Feb 2000 15:46:39 +0000
Subject: Re: [PHP4BETA] FW: [PHP4BETA] please consider this functionality in v4 (fwd)
Groups: php.version4 
Request: Send a blank email to php-version4+get-10354@lists.php.net to get a copy of this message
>> [from subsequent post] >> >This is already implemented: >> >"server/myfile.php?sanity[]=fading&foo=bar&sanity[]=gone" >> >will accomplish what you're after. >> >> In a very false and limiting way. A specific instance: you can't use >> javascript within your html to manipulate an element whose name has brackets >> in it! > >Of course you can. Every element has a numerical identifier in >JS. Reference sanity[] using its numerical index and you can do whatever >you want with it. > >-Rasmus ..but you will only know the numerical identifier of a specific field if you know this id in advance... Eg. if you don't know the order or even wich fields will be generated your still in ds :) But why use it anyway? Why not id-ing them before you post by giving them unique names?? server/myfile.php?sanity0=fading&foo=bar&sanity1=gone after that you can catch 'm in a simple loop :? cheers! Bram -- PHP 4.0 Beta Mailing List <http://www.php.net/version4/> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net For additional commands, e-mail: php4beta-help@lists.php.net To contact the list administrators, e-mail: php4beta-admin@lists.php.net ----- End of forwarded message from rasmus@php.net -----

« previous php.version4 (#10354) next »