28 printf(_(
"Erreur ouverture fichier %s "),
$fcard);
35 while ((
$row=fgetcsv(
$fcard,0,$delimiter,$surround)) !==
false)
38 echo
'<tr style="border:solid 1px black">';
40 $count_col=count(
$row);
42 for ($i=0;$i<$count_col;$i++)
44 echo td(
$row[$i],
'style="border:solid 1px black"');
51 echo
'<table style="border:solid 1px black;width:100%">
59 echo th(
'Numéro de ligne');
68 if ( in_array($a_header[$i],$a_valid_header) )
69 $header->selected=$a_header[$i];
73 echo
'<th>'.$header->input().
'</th>';
if($fcard==FALSE) $row_count
for($i=0;$i< Database::num_row($ret);$i++) $row
$nb_attribute
create widget column header
while(($row=fgetcsv($fcard, 0, $delimiter, $surround))!==false) $table
$fcard
Open the file and parse it.