Wednesday, 29 August 2018
Subscribe to:
Post Comments (Atom)
[98] => Array ([Id] => 1, [Name] => Miriam Wood, [Line Manager] => None)
[99] => Array([Id] => 2, [Name] => Alan Haworth, [Line Manager] => 1)
[105] => Array([Id] => 3, [Name] => Guy Kahane, [Line Manager] => 1)
[106] => Array([Id] => 4, [Name] => Matthew Baum, [Line Manager] => 3)
[107] => Array([Id] => 5, [Name] => Rebecca Roache, [Line Manager] => 3)
(
[98] => Array
(
[Id] => 1
[Name] => Miriam Wood
[Line Manager] => None
[Staffs] => Array
(
[99] => Array
(
[Id] => 2
[Name] => Alan Haworth
[Line Manager] => 1
)
[105] => Array
(
[Id] => 3
[Name] => Guy Kahane
[Line Manager] => 1
[staffs] => Array
(
[106] => Array
(
[Id] => 4
[Name] => Matthew Baum
[Line Manager] => 3
)
[107] => Array
(
[Id] => 5
[Name] => Rebecca Roache
[Line Manager] => 3
)
)
)
)
$head = array("id">1,"name"=>"Harshana","servents"=>array(
"s1"=>array("id">1,"name"=>"abc"),
"s2"=>array("id">2,"name"=>"sdf"),
"s3"=>array("id">3,"name"=>"fgh")
));
print_r($head);
echo "<hr />";
print_r($head["servents"]);
echo "<hr />";
print_r($head["servents"]["s1"]);
echo "<hr />";
$s1 = $head["servents"]["s1"];
echo "servent 1 name :".$s1["name"];
Hello Friends! I am Ramana a part time blogger from Hyderabad.
0 comments:
Post a Comment