$conn = mysql_connect(SAE_MYSQL_HOST_M.':'.SAE_MYSQL_PORT,SAE_MYSQL_USER,SAE_MYSQL_PASS);
$sql = "iot";
mysql_select_db($sql,$conn);
$sql2 = "SELECT * FROM `iot` ORDER BY `id` ASC LIMIT 0,1";
// echo $sql;
$query = mysql_query($sql2, $conn);
$row = mysql_fetch_array($query, MYSQL_ASSOC);
echo $row['name'];
?>