"; } else { echo "BŁĄD mysqli NIEzaistalowane
"; } } function mega_escape_string ($in_string,$in_markup = FALSE) { //jeżeli markup=true zamienia znaczniki HTML na encje. if ($in_string === NULL) return ''; $str = ereg_replace('([\'%;])', '\\\1', $in_string); if ($in_markup == TRUE) { $str = htmlspecialchars($str, ENT_NOQUOTES, "UTF-8"); } return $str; } ?>