Código PHP:
Case "1":
$Id = trim ($_POST['Id']);
$query = "SELECT * FROM tbl_cmdb_rad WHERE logical_name = $Id";
$result = mysqli_query($conn,$query);
$count = mysqli_num_rows($result);
if ($count==1){
$row = mysqli_fetch_array($result, MYSQLI_BOTH);
$ide = utf8_encode($row["logical_name"]);
$site_category = utf8_encode($row["site_category"]);
$lognam = utf8_encode($row["logical_name"]);
$serial_no = utf8_encode($row["serial_no"]);
$model = utf8_encode($row["model"]);
$sitio = utf8_encode($row["sitio"]);
$edificio = utf8_encode($row["edificio"]);
$oficina = utf8_encode($row["oficina"]);
$istatus = utf8_encode($row["istatus"]);
$type = utf8_encode($row["type"]);
$ficha = utf8_encode($row["ficha"]);
$centro_git = utf8_encode($row["centro_git"]);
$desc = utf8_encode($row["description"]);
$first_name = utf8_encode($row["first_name"]);
$last_name = utf8_encode($row["last_name"]);
$a_materno = utf8_encode($row["a_materno"]);
$var1 = utf8_encode($row["var1"]);
$var2 = utf8_encode($row["var2"]);
$cadena = "<Resultado Id='".$row["logical_name"]."' site_category='$site_category' logical_name='".$row["logical_name"]."' serial_no='$serial_no' model='$model' sitio='$sitio' edificio='$edificio' oficina='$oficina' istatus='$istatus' type='$type' ficha='$ficha' centro_git='$centro_git' description='$desc' first_name='$first_name' last_name='$last_name' a_materno='$a_materno' var1='$var1' var2='$var2' ";