<?php
$db = mysqli_connect("localhost", "root", "1234");
mysqli_select_db('autuni', $db);
mysqli_query("SET NAMES 'utf8'", $db);
?>

<?php
$db = mysqli_connect("localhost", "root", "1234");
mysqli_select_db($db, 'autuni');
mysqli_query($db, "SET NAMES 'utf8'");
?>

Fix mysql to mysqli shift problem
Fix mysql to mysqli shift problem
