<?php
$db = mysql_connect("localhost","arman","kiker555");
mysql_select_db("firstbd",$db);
mysql_query("SET character_set_results = 'utf8', character_set_client = 'utf8', character_set_connection = 'utf8', character_set_database = 'utf8', character_set_server = 'utf8'", $db);
$result = mysql_query("SELECT * FROM firma",$db);
$myrow = mysql_fetch_array($result);
echo $myrow["name"];
?>