Jump to content

[SOLVED] ' <- ' a weird problem !!


hassank1

Recommended Posts

what do u mean ??

 

that's my question.. why this is happening ?

 

I am using php .. and what I do is cleaning the html tags and converting nl2br .. then I print it .. but donno y this is happening !

 

if the problem isn't clear I can explain with more details !

 

thx

You need to pass all posted content through htmlentities(), using ENT_QUOTES as the second parameter, when you output it so that all special characters are converted to HTML entities so that they are not rendered by the browser and display exactly as entered.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.