468,243 Members | 1,925 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,243 developers. It's quick & easy.

list of sybmols like to display > on html page &gt and which are others

i am making an application.

the user can give description and that description is stored in
database and then the description is shown on html page.

suppose the user has written "<b>hello</b>" in description then in the
database the following will be stored "<b>hello</b>" but when i display
it on database the hello in bold letter will be displayed.

i know the soultion that i have to replace the occurrences of < with
&lt and occurrences of > with &gt but i don't know that which are other
symbols which needs some repair like above so please give me a list of
html symbols and their equivalent symbol

if u can sugges some site then also i m ready

thxs for help

Jul 17 '05 #1
1 1462
vishal <vi************@yahoo.co.in> wrote:
i know the soultion that i have to replace the occurrences of < with
&lt and occurrences of > with &gt but i don't know that which are other
symbols which needs some repair like above so please give me a list of
html symbols and their equivalent symbol
http://nl2.php.net/htmlspecial_chars sais it all.
if u can sugges some site then also i m ready


You could read the html (4.01) specs at w3.org, it's not that big :)

Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Donald Firesmith | last post: by
2 posts views Thread by Francesco Moi | last post: by
5 posts views Thread by Max Bentz | last post: by
4 posts views Thread by David Lozzi | last post: by
3 posts views Thread by Alex Maghen | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.