You are here: Re: Quotes from Db into textfield « PHP Programming Language « IT news, forums, messages
Re: Quotes from Db into textfield

Posted by frizzle on 11/03/84 11:41

Michael Fesser wrote:
> .oO(frizzle)
>
> >OK, i get what you mean, but i had already thought of that, but kind of
> >immediately faced the following problem: What if someone writes a
> >HTML-tutorial, and uses
> >
> >"
> >
> >as a text, or even
>
> This would become
>
> "
>
> >"""
> >
> >which would become
> >
> >"""
>
> It would become
>
> """
>
> Micha

Ok, i get this, but if i call the text from the DB and put it into a
field:
from the db (raw) : "
into html textfield : ... value=""" ...

It should display correctly, but what i meant, if a person types
another
quote into the field, so both are original quotes, things get messed
up,
because there is a html quote in it, and a real one.

I could use html_entities_decode, but this would also mess up the html-
tutorial characters ...

Frizzle.

 

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

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