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 Quote 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 Quote 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 Quote 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(). Quote 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 Quote Link to comment https://forums.phpfreaks.com/topic/231282-escape_string/#findComment-1190386 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.