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

Posted by Jerry Stuckle on 01/08/06 21:05

Danny wrote:
> The problem is that im using a rich text script and $content is alreay
> handled somehow with htmlspecialchars where the problem starts
> I cant get normal tags into my database.
>
> PLease check for urselff http://www.kevinroth.com/
>
>
>>>$p = htmlentities($content);
>>>to convert the strange characters to real html.
>>
>>That isn't what it does. HTML is just text. Store it in your database
>>without modification.
>>
>>--
>>Geoff Berrow (put thecat out to email)
>>It's only Usenet, no one dies.
>>My opinions, not the committee's, mine.
>>Simple RFDs http://www.ckdog.co.uk/rfdmaker/
>
>
>

1. Please don't top post.

2. Geoff is correct - HTML is just text. Why could $content already
processed with htmlspecialchars?

3. No idea what I'm looking for. This is just plain html text, like I
would expect it to be.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

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

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