/* requete SQL */
$cu=odbc_exec($connection,"SELECT * FROM GCPHLFAC WHERE GNUFAC=1" );
//tableau
$row=odbc_fetch_into($cu,5,$tab);
echo($tab[4]);
/* while ( $row=odbc_fetch_into ($cu,0,$tab))
{ $arrrr[$row[1]] = $row[2];}
echo ($tab[0]); */
$numcol=odbc_num_rows($cu) ;
echo ($numcol);
$res=odbc_fetch_row($cu,1);
//odbc_result ($res,0);
$Query = "SELECT * FROM GCPHLFAC WHERE GNUFAC=1";
//execute query
$queryexe = @odbc_do($connection, $Query);
//output results to standard output
odbc_result_all($queryexe, "BORDER=1" );