function e($val) { global $con; return mysqli_real_escape_string($con, trim($val)); } function provjera ($str) { return htmlspecialchars ($str, ENT_QUOTES); }