Jump to content

how to be MYSQL Safe AND display html?


Natefons

Recommended Posts

well i wanted to do a simple "news management" and a task i wanted to come up was a way to be mysql safe from injections (using mysql_real_escape_string) the only problem with that is, some times it gets "good" characters as well. for example a simple <a href=URL>

will be converted to a "mysql safe" string.

 

what i need to find out is, how to do both.

 

is it possible?

Link to comment
https://forums.phpfreaks.com/topic/116816-how-to-be-mysql-safe-and-display-html/
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.