sir my problem is how to pass multi demensional array from a function and how to store this value into function definition
Do you mean something like?
<?php
$arr = array('home'=>array(
'living room',
'bedroom'
),
'office'=>array(
'conference room',
'cubicule',
)
);
function myFunction ( $myArray) {
echo "<pre>look nested arrays are passed into functions just like regular arrays, it just works
".
print_r($myArray,true).
'</pre>';
}
myFunction ($arr);
It just works.