This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
    julivee
    
            
            
                    
                                            
        
    
        I am wondering how to push values in an associative array without having to brute force it. October is using $this for the variable to be used in the markup page but I don't know how to add values into an associative array with $this. Does anyone know how to do it?
    julivee
    
            
            
                    
                                            
        
    
        I tried this: 
$this->div_content['title'] = $row->value; 
but I'm getting this error: 
Indirect modification of overloaded property Cms555e933ac8fd3_2455129006Class::$div_content has no effect
Last updated
1-3 of 3