Re: [PHP] problem translating single qutoes using ENT_QUOTES

2004-06-21 Thread Curt Zirzow
* Thus wrote Pablo Gosse: > > if ($mode == 1) { > $html = htmlentities($html, ENT_QUOTES); > } else { > $trans_tbl = get_html_translation_table(HTML_ENTITIES, > ENT_QUOTES); > $trans_tbl = array_flip($trans_tbl); > $html = s

[PHP] problem translating single qutoes using ENT_QUOTES

2004-06-21 Thread Pablo Gosse
Hi folks. I'm running into a problem translating single quotes that I'm hoping someone can help with. In my CMS, content is encoded using htmlentities() before it is stored in the database. During publishing the encoded content from the db is decoded before being written to the file. However, f