private function escape($string) {
if(get_magic_quotes_gpc()) $string = stripslashes($string);
return mysql_real_escape_string($string);
}
Working with one of the PHP sites, encountered the above code, i am new to php and i just want to understand what the above code is all about.
please guide