$navn=$_POST['navn'];
$mysqlconnection=mysqli_connect("host","user","pw","db");
if (mysqli_connect_errno()) {
echo "Failed to connect to MySQL: " . mysqli_connect_error();
}
mysql_query('SET NAMES UTF8', $mysqlconnection);
mysql_query('SET CHARACTER_SET UTF8', $mysqlconnection);
$navn =...