HTML arrays

From: Date: Mon, 16 Feb 2004 15:20:25 +0000
Subject: HTML arrays
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-10959@lists.php.net to get a copy of this message
I'm just having to deal with the issue of handling an arbitrary number of data rows in a page, each of which may have check boxes, pop-ups etc, all generated with Smarty. At the moment I'm cheating by having an "update" button for each row, but I'd really like to have a single update button for all the rows. This means of course that I need to send the entire data set back in some kind of array form (which HTML doesn't do, AFAIK), or come up with some consistent naming scheme to uniquely identify every property of every row. Then I also need to figure out how to deal with it at the receiving end in PHP - e.g. can I register/retrieve submitted fields using wildcards in their names? How do you deal with this? Is there a "Smarty way" of handling it? Thanks, Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture marcus@synchromedia.co.uk | http://www.synchromedia.co.uk

« previous php.smarty.general (#10959) next »