Hi all,
I have a created a multidimesional array,what i need is to traverse that array and return the value of the array in the particular page
the array is
$one=array("one " =>"Text1");
$two=array(
"two" =>array(
"a" =>array(
"b" =>"Text2"
)
)
);
$main=array($on e,$two);
here "one" is the one of the tab in the page
if i click the tab "Text1"shou ld be printed in the page likewise "Text2"shou ld be printed in the particular page (ie) when i click the tab "two" "text2" should be printed in the page.
a recursive fn should be used to traverse the array,also explode() should be used to split the array and traverse
only one function must be used
kindly help me out in this...its very urgent to me....
vimal
I have a created a multidimesional array,what i need is to traverse that array and return the value of the array in the particular page
the array is
$one=array("one " =>"Text1");
$two=array(
"two" =>array(
"a" =>array(
"b" =>"Text2"
)
)
);
$main=array($on e,$two);
here "one" is the one of the tab in the page
if i click the tab "Text1"shou ld be printed in the page likewise "Text2"shou ld be printed in the particular page (ie) when i click the tab "two" "text2" should be printed in the page.
a recursive fn should be used to traverse the array,also explode() should be used to split the array and traverse
only one function must be used
kindly help me out in this...its very urgent to me....
vimal
Comment