sayfanın en üst kısmı aynen böyle,
header("Content-type: text/html; charset=utf-8");
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
</html>
bunlardan sonra artık işte
<?php
global $db,$c,$ir, $set...