dropfaith Posted September 10, 2008 Share Posted September 10, 2008 $Date = mysql_escape_string($_POST['Date']); i know that makes it harder for sql injection attacks but how would i still allow "" for links and images basic html stuff to be inserted and still work as it is now my links come out as http://dropfaithproductions.com/test/\test\ Link to comment https://forums.phpfreaks.com/topic/123675-mysql_escape_string/ Share on other sites More sharing options...
genericnumber1 Posted September 10, 2008 Share Posted September 10, 2008 A lot of things can cause this, likely you have magic_quotes_gpc() enabled.... disable it in php.ini or .htaccess if it's set. Link to comment https://forums.phpfreaks.com/topic/123675-mysql_escape_string/#findComment-638645 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.