Jump to content

RichText and mySQL


prudens

Recommended Posts

When returning it, you will want to stripslashes().

 

You don't run data coming from the database through stripslashes()> Even if the data is stored using addslashes(), the data itself is not stored with the slashes in it. Addslashes() attempts to escape chars that will break your sql query, thats all.

 

Its also prefered to use mysql_real_escape_string() these days.

Link to comment
https://forums.phpfreaks.com/topic/93968-richtext-and-mysql/#findComment-481499
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.