0
给定阵列中的2- d阵列的特定文本是打印使用foreach循环仅
$info=array("sanjay"=>array("male",20),
"ravi"=>array("male",20),
"rahul;"=>array("male",26),
"tina"=>array("male",21),
"sanjna"=>array("female",60)
);
输出应该看起来像this--
Name is: Sanjay Sex is: male and Age is: 20
Name is: ravi Sex is: male and Age is: 20
Name is: rahul Sex is: male and Age is: 26
Name is: tina y Sex is: female and Age is: 21
Name is: Sanjna Sex is: female and Age is: 60
是的,这工作得很好..很多蒂姆:) – swapnesh 2011-04-10 20:17:48