I have a multi array, how do i access each individual item i.e. "profile title" and is there a way i could loop through the array and assign variable to each arrays values for example
$firstarray->name $firstarray->html
$secondarray->typeId
array(4) {
[0]=>
array(4) {
["name"]=>
string(13) "profile title"
["html"]=>
string(52) "<h2 class="entry-title" id="title">Your Profile</h2>"
["typeId"]=>
string(1) "1"
}
[1]=>
array(4) {
["name"]=>
string(8) "username"
["html"]=>
string(145) "<fieldset disabled><br><label for="nameinput">Username</label><input type="text" id="userName"class="form-control" placeholder="" ></fieldset><p>"
["typeId"]=>
string(1) "1"
}