Hi, i need to add a new line to my log everytime i add a new content.
I tried to do that: $newData[“log”] = $log . “\n” . $data[‘log’];
But it seems the php escapes it, there’s a way to remove this escape?
Hi, i need to add a new line to my log everytime i add a new content.
I tried to do that: $newData[“log”] = $log . “\n” . $data[‘log’];
But it seems the php escapes it, there’s a way to remove this escape?
$newData[“log”] = $log . “\n” . $data[‘log’];
Working for me when i use Yii::log() function