I'm a PHP developer and I'm currently studying the arrays, and I'm having a silly question.
When I print my arrays, it comes that way
Array (
[0] => Array ( [0] => 10 )
[1] => Array ( [0] => 20 )
[2] => Array ( [0] => 30 )
[3] => Array ( [0] => 40 )
[4] => Array ( [0] => 50 )
)
My interest is that only numbers are displayed.
10, 20, 30, 40 50
php code
while (($linha = fgetcsv($file)) !== FALSE)
{
$carros[] = $linha;
//print_r($linha);
}
fclose($file);
print_r($carros);
All help will be welcome