Hello,
I have a view page where html tags are being output, any idea how to remove them in yii1 please?
this is what I have in my model:
public function search()
{
// @todo Please modify the following code to remove attributes that should not be searched.
$criteria = new CDbCriteria;
$criteria->compare('id', $this->id);
$criteria->compare('message', $this->message, true);
$criteria->compare('createdAt', $this->createdAt, true);
return new CActiveDataProvider($this, array(
'criteria' => $criteria,
));
}
Thank you.