Question about printing SQL Query in a div


Is there any same function like $model->printDiv($sql, "Title"); that works for Yii1.1, working for Yii2 as well? I searched but I can’t find anything similar.

I would be grateful if you could help me out .

Best regards

Hi @Leno1232

As long as I search in the API documents, there’s no such thing like printDiv() in Yii 1.1. It should be in your specific project of Yii 1.1.

Yes indeed.