I have saved some information in the database with MySQL, now I want to show them, because there are some code like Example: ====== In fact, I have to do this way. and then Resolve my problem completely Thanks everyone. Recommend not to apply htmlspecialchars when you save databases when sending output when necessary Sinitek should be implemented. & Lt; Div & gt; , & lt; P & gt; , etc. I just want to show them as the raw HTML code, can someone tell me how? I try to use `html_entity_decode (), but this does not work.
& amp; Lt; Div & gt; & Amp; Lt; B & gt; Pvt. Nom: & amp; Lt; / B & gt; Tantant Tan & amp; Lt; / Div & gt; & Amp; Lt; Div & gt; And & lt; B & gt; Sydonimi: & amp; LT; / B & gt; Surname & amp; the lift; / Div & gt; & Amp; Lt; Div & gt; & Amp; Lieutenant; B & G; RA Sadas Principal: & amp; the lift; / B & gt; 69001 Lyon 1 AR & amp; Lt; / Div & gt; & Amp; Lt; Div & gt; & Amp; Lt; B & gt; Atre ra sidence: & amp; Lt; / B & gt; Place Belcars 69002 Lyon 2a & amp; Lt; / Div & gt;
# serialize () method $ data = serialize ($ _ session); $ Sql = "sessioninfo` data` Enter values ('$ data')";
# I believe that you can get data from the database and the following variable $ data = unserialize ($ line ['data' ]);
Comments
Post a Comment