0

How to get escaped output in cakephp view file?

This is my current output data:

<td><? echo $acc['UserLog']['EventTimestamp'];?></td>

I am searching any inbuilt function in cakephp for doing the same

<td>
     <?
          echo htmlspecialchars($acc['UserLog']['EventTimestamp'])
     ?>
 </td>

0 Answers0