Jump to content

'\ problem


UnknownPlayer

Recommended Posts

Hi,

i use mysql_real_escape_string() function when insert in db, but when echo i use htmlentities($var, ENT_QUOTES, "UTF-8")

Now problem is '\ in that text.

 

In db it write text with single quote with \, example That\'s wrong, and when echo it show just the same like in db..

How can i fix this ?

Link to comment
https://forums.phpfreaks.com/topic/252146-problem/
Share on other sites

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.