Parse error: syntax error, unexpected token “;” in C:\xampp\htdocs\native\admin\process_login.php on line 19 [closed]

You have added an extra ). You need to remove that.

Use this code

function clean($str) {
    $str = @trim($str);
  if( get_magic_quotes_gpc() ) {
    $str = stripslashes($str);
  }
  return mysql_real_escape_string($str);
}