"; $l_sessid=(isset($_POST['PHPSESSID']))?$_POST['PHPSESSID']:$_GET['PHPSESSID']; $r.=""; $r.=" Date "; $r.=" Echéance "; $r.=" Description"; $r.=" Montant "; $r.="Op. Concernée"; $r.=""; for ($i=0; $i < $Max;$i++) { $row=pg_fetch_array($Res,$i); if ( $i % 2 == 0 ) $tr=''; else $tr=''; $r.=$tr; // date $r.=""; $r.=$row['jr_date']; $r.=""; // echeance $r.=""; $r.=$row['jr_ech']; $r.=""; // comment $r.=""; $r.=sprintf(' %s', "Détail",$row['jr_grpt_id'],$l_sessid,$row['jr_comment']); $r.=""; $r.=""; // Amount $r.=""; $r.=$row['jr_montant']; $r.=""; // Rapt $r.=""; $r.=''; $r.=$row['jr_rapt']; $r.=""; $r.=""; // TODO Add print // end row $r.=""; } $r.=""; return $r; }