Associative Array - Page 2

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

Re: Associative Array


<input type="hidden" name="ProductID" value="<?php echo $riga['ProductID']
          <input type="hidden" name="Capacity" value="<?php echo
$riga['Capacity'] ?>">

$ProductID = $_POST['ProductID'];
$Capacity = $_POST['Capacity'];

print "Quantita 0 "
print "Quantita 1 "
print "Quantita 2 "

$Option1 = $_POST['product_data'][$ProductID][$Capacity]['ad_adornment'];
$Option2 =

foreach($Option1 as $val_A){
    print "Opzione " .$val_A."<br>";


foreach($Option2 as $val_B){
    print "Opzione " .$val_B."<br>";


print "Tempi " .$val1 =

Thanks to all for help me

Re: Associative Array

On 11/28/2011 3:59 PM, Jesolo Sun wrote:
Quoted text here. Click to load it

Glad it works.

But I am a bit confused now.
When I suggested this solution you said it was impossible because of
some Javascript issue it raised for you.
Is that solved now?
Or was there no issue at all?

Erwin Moller

"That which can be asserted without evidence, can be dismissed without
-- Christopher Hitchens

Site Timeline