";
$httpString = $httpString . "\n";
$sqlcmd = "SELECT xmldef
FROM activite.v_budgets_saisis_1
WHERE budget_id = $budget_id ";
$result = $database->exec($sqlcmd);
if ($result != false) {
// lignes
$ok = TRUE;
while ($ok == TRUE) {
$ok = FALSE;
$record = $database->nextRecordInto();
if ($record != FALSE) {
$ok = TRUE;
$xmldef = trim($record[0]);
$httpString = $httpString . "\r\n$xmldef";
}
}
}
$httpString = $httpString . "\n";
$httpString = compress64($httpString);
echo "$httpString";
?>