cruxaders Posted March 21, 2011 Share Posted March 21, 2011 how is this code work and what it do... function mss($value){ return mysql_real_escape_string(trim(strip_tags($value))); } tnx in advance Link to comment https://forums.phpfreaks.com/topic/231282-escape_string/ Share on other sites More sharing options...
Maq Posted March 21, 2011 Share Posted March 21, 2011 mysql_real_escape_string trim strip_tags Link to comment https://forums.phpfreaks.com/topic/231282-escape_string/#findComment-1190347 Share on other sites More sharing options...
cruxaders Posted March 21, 2011 Author Share Posted March 21, 2011 tnx for reply but im asking if what that code for..what it can do..and how is it work Link to comment https://forums.phpfreaks.com/topic/231282-escape_string/#findComment-1190365 Share on other sites More sharing options...
Maq Posted March 21, 2011 Share Posted March 21, 2011 It applies those 3 methods on what you pass into mss(). Link to comment https://forums.phpfreaks.com/topic/231282-escape_string/#findComment-1190367 Share on other sites More sharing options...
cruxaders Posted March 21, 2011 Author Share Posted March 21, 2011 oh got it now..tnx Link to comment https://forums.phpfreaks.com/topic/231282-escape_string/#findComment-1190386 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.