$query = mysql_query("SELECT `host` FROM `test`"); $row = mysql_fetch_array($query); echo $row['host'];