FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Associative Array
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Associative Array [message #176169 is a reply to message #176168] Mon, 28 November 2011 15:39 Go to previous message
Erwin Moller is currently offline  Erwin Moller
Messages: 228
Registered: September 2010
Karma:
Senior Member
On 11/28/2011 3:59 PM, Jesolo Sun wrote:
> SOLVED
>
> <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 "
> .$_POST['product_data'][$ProductID][$Capacity]['numero0']."<br>";
> print "Quantita 1 "
> .$_POST['product_data'][$ProductID][$Capacity]['numero1']."<br>";
> print "Quantita 2 "
> .$_POST['product_data'][$ProductID][$Capacity]['numero2']."<br>";
>
>
>
> $Option1 = $_POST['product_data'][$ProductID][$Capacity]['ad_adornment'];
> $Option2 =
> $_POST['product_data'][$ProductID][$Capacity]['ad_adornments_options'];
>
> foreach($Option1 as $val_A){
> print "Opzione " .$val_A."<br>";
>
> }
>
> foreach($Option2 as $val_B){
> print "Opzione " .$val_B."<br>";
>
> }
>
> print "Tempi " .$val1 =
> $_POST['product_data'][$ProductID][$Capacity]['realization_period']."<br>";
>
> Thanks to all for help me
>
>

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?

Regards,
Erwin Moller

--
"That which can be asserted without evidence, can be dismissed without
evidence."
-- Christopher Hitchens
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Order/Timing of Execution of PHP
Next Topic: Browser doesn't support
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Sep 20 08:41:28 GMT 2024

Total time taken to generate the page: 0.04069 seconds