I am allowing users to input anything , I am sending( to database) <
for <
And >
for >
by using jquery on client side , And we know still a user can post bad things in database , So i am also using htmlspecialchars();
Now this function is converting the &
into &
, and whole <
converts into &lt
, So this don't appears as '<'
for users in browsers. So thats why i don't want htmlspecialchars()
to convert &
into &
,So that user can see <
tags after browser parse <
as <
Any help would be much appreciated