- Champagne -
\n";
while ( ( $data = fgetcsv ( $handle, 1000, ",", '"' ) ) !== FALSE ) {
for ( $i = 0; $i < count( $data ); $i++ ) {
if ( $i == 0 ) {
echo "\t
{$data[$i]}\n";
} else if ( $i == 1 ) {
echo "\t\t
{$data[$i]}\n";
} else if ( $i == 2 ) {
echo "\t\t
{$data[$i]}\n";
} else if ( $i == 3 ) {
echo "\t\t
{$data[$i]}\n";
} else if ( $i == 4 ) {
echo "\t\t
{$data[$i]}\n";
}
}
}
echo "\n";
fclose ( $handle );
}
?>
- Blanc -
\n";
while ( ( $data = fgetcsv ( $handle, 1000, ",", '"' ) ) !== FALSE ) {
for ( $i = 0; $i < count( $data ); $i++ ) {
if ( $i == 0 ) {
echo "\t
{$data[$i]}\n";
} else if ( $i == 1 ) {
echo "\t\t
{$data[$i]}\n";
} else if ( $i == 2 ) {
echo "\t\t
{$data[$i]}\n";
} else if ( $i == 3 ) {
echo "\t\t
{$data[$i]}\n";
} else if ( $i == 4 ) {
echo "\t\t
{$data[$i]}\n";
}
}
}
echo "\n";
fclose ( $handle );
}
?>
- Rouge -
\n";
while ( ( $data = fgetcsv ( $handle, 1000, ",", '"' ) ) !== FALSE ) {
for ( $i = 0; $i < count( $data ); $i++ ) {
if ( $i == 0 ) {
echo "\t
{$data[$i]}\n";
} else if ( $i == 1 ) {
echo "\t\t
{$data[$i]}\n";
} else if ( $i == 2 ) {
echo "\t\t
{$data[$i]}\n";
} else if ( $i == 3 ) {
echo "\t\t
{$data[$i]}\n";
} else if ( $i == 4 ) {
echo "\t\t
{$data[$i]}\n";
}
}
}
echo "\n";
fclose ( $handle );
}
?>