Is it OK to have HTML tags inside an array (is there risk of hacking)?

Posted by janoChen on Stack Overflow See other posts from Stack Overflow or by janoChen
Published on 2010-04-30T13:35:24Z Indexed on 2010/04/30 13:37 UTC
Read the original article Hit count: 115

Filed under:
|
|

I have the following array:

'tagline_p' => "I'm a <a href='#showcase'>multilingual web</a> developer, designer and translator. I'm here to <a href='#contact'>help you</a> reach a worldwide audience.",

Should I escape the HTML tags inside the array to avoid hackings to my site? (How to escape them?)

or is OK to have HTML tags inside an array?

© Stack Overflow or respective owner

Related posts about php

Related posts about hacking