Using a __set accessor function in PHP I can set the value of a scalar, but not an element of an array. Ie:
$p->scalavar = "Hello"; // This works fine
$p->myarray['title'] = "Hello"; //This does not work
My accessor is as follows:
function __set($mbr_name, $mbr_value) {
$this->$mbr_name = $mbr_value;
}
Thanks!