Jump to content

[SOLVED] Multy array


Minase

Recommended Posts

hello till now i didn't need multy array but now i need it and im stuck :|

 

	$elements = array (
                "a"   => array ( "base1" => 5, "base2" => 24),
                "b"    => array ( "base1" => 4, "base2" => 55)
		);

what i need is something like this

 

i need to have 2 values for array a,and 2 values for array b

kinda failed

 

if you can explain me how to do this and how to use the double array i will be forever grateful

thank you

Link to comment
https://forums.phpfreaks.com/topic/175694-solved-multy-array/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.