DMXzone Database Connector PHP Support Product Page

Answered

Php Mysql Charset

7 years ago henry Lebers posted:
Hello,

I'm with utf-8 charset in web pages and in mysql database.
I do not have problem with accent.
But in my tables where i've stocked texts the balises html are not used, just displayed in text as <p>.
What is the solution ? (how to use <?php utf-8_decode( {{serverconnect1.data.BlogPost[0].texte_post}} ); ?>

Replies

Replied 7 years ago
Replied 7 years ago
7 years ago henry Lebers replied:
i have do this:
<span dmx-text="serverconnect1.data.BlogPost[0].texte_post"></span>
My text appears but the html balises are displayed as text:

A propos de


<p>Le site immobilier propose aux particuliers de diffuser leurs annonces immobilières de vente de maison ou de vente d'appartement.</p>
Replied 7 years ago
7 years ago Teodor Kuduschiev replied:
Please check what is shown in the video!
You should be using dmx-html ... not dmx-text. Check the video carefully.
Replied 7 years ago
7 years ago henry Lebers replied:
Thanks

Reply to this topic