Hi
I have model
…
…
public function safeAttributes()
{
return array(‘d_html’ /,‘d_keywords’/ );//d_keywords commented
}
…
…
after saving the d_keywords value is updated
$meta->attributes=$_POST[‘Description’];// here array(‘d_html’=>‘value’,‘d_keywords’=>‘not need to update’)
$meta->save();
The database recorded
array(‘d_html’=>‘value’,‘d_keywords’=>‘not need to update’)
What am I doing wrong?