query($sql); $row = $result->fetch_assoc(); $incsol = $row["info_inc"]; } if ($incstt=="P") { $incdes="Pendiente"; } else { $incdes="Solucionado"; } $allJS=""; getHeaderFrm("Info Incidencia", $allJS); ?>
prepare($sql); $rc = $stmt->execute(); if(false===$rc){ $ret = $stmt->error; }else{ $ret = $stmt->affected_rows; } $stmt->close(); $conn->close(); return $ret; } ?>