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 #176158 is a reply to message #176149] Mon, 28 November 2011 09:41 Go to previous messageGo to previous message
Jesolo Sun is currently offline  Jesolo Sun
Messages: 8
Registered: November 2011
Karma:
Junior Member
?

I'm sorry, Jesolo, I understand English isn't your first language and
you're trying to communicate your problem. But reading through both of
your posts again, I'm just not understanding what your problem is.

The data is in your $_POST array, and all accessible to your script.
You do have multiple dimensional arrays in your $_POST array, but you
access it similar to in your HTML, i.e.

$val0 = $_POST['product_data'][99][300]['prezzo0']; // 2.20
$val1 = $_POST['product_data'][99][300]['prezzo1']; // empty string

and so on.

Is this your problem?



Dear sirs
i have used this and get the values
my problem is the values in the POST, the value [99] is dynamics ( this is
ProductID) and [300] is dynamics ( this is Product variant)
For every product i have different ProductID and different Product variant
[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 09:00:17 GMT 2024

Total time taken to generate the page: 0.04662 seconds