html_options to array
| From: | Jorge Restrepo - WebTeam | Date: | Thu, 02 Oct 2003 20:57:34 +0000 |
| Subject: | html_options to array | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-10287@lists.php.net to get a copy of this message | ||
Hi
Can this be done?
{html_options options=$cant selected=$quant
name=quant_sku[$productos[items].cart_inumber]}
notice the param:
name=quant_sku[$productos[items].cart_inumber]
What I want is to store the quantities of a shopping cart in an array for
easiness when updating.
So I can get this in $_POST :
example:
$_POST[quant_sku[003]] = 1
$_POST[quant_sku[021]] = 8
any advice?
Thanks