I have the following PHP array:
class MyItems {
$items = array(
'note' => array(),
'abstract' => array()
)
}
And I want to access note array with the follogin code:
$item = new MyItems();
$i = $item -> items;
echo $i['note'];
But I get Notice: Undefined index: note
or