$form = array(
array(
'form' => 'Change Schedule',
'data' => array(
array(
'element'=>'input',
'name'=>'form-start',
'class'=>'form-control',
'type'=>'text',
'column'=>'col-md-12',
'label'=>'Schedule'
)
),
),
array(
'form' => 'Maintenance',
'data' => array(
array(
'element'=>'input',
'name'=>'form-room-place',
'class'=>'form-control',
'type'=>'text',
'column'=>'col-md-12',
'label'=>'Room # / Place'
)
),
),
);
This is the array I made, I wanted to get the array with form = Maintenance only. Is this possible with php to get the array via string arrays I want to pass?
My attempt:
$form(('form'=>'Change Dormitory'));
echo $form[1]['form'], like so, it seems you're having trouble with the basics, maybe you ought to try reading the manual php.net/manual/en/language.types.array.php