You are here: htmlentities « PHP Programming Language « IT news, forums, messages
htmlentities

Posted by Danny on 01/08/06 16:48

Hello all,



I want to save real HTML tags into my mysql database.
I use
$p = htmlentities($content);
to convert the strange characters to real html.
Then from another page i echo the content from the database and i see real
html tags which is what i want.
But in the database its still saved as:
p><strong>sdfsdfsdfsdfsdfsdf</stro.

How can i save normal HTML tags in my database??

Thanks a lot

Danny

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация