I am storing forms as well as the form processing scripts, javascript validation scripts and form CSS in the database, am using eval()
for PHP code, so my question is do I need to to htmlspecialchars()
, htmlentities()
?
Anyways am using mysqli_real_escape_string()
and nl2br()
and ya don't warn me about how to use eval()
securely or eval
is evil
etc etc, that's not the concern here, the thing is if am not using htmlspecialchars
or htmlentities
the html will go as it has being posted in the database like <
will be <
and not <
so do I need to use those functions or they are not really required in this case?