Posts by Bruno Chaves • 1 point
3 posts
-
0
votes1
answer72
viewsA: How to classify a.csv file column without using PHP Sort functions?
I would create a key to $Arquivo[] with the value you would like to use as a reference and then use ksort() or krsort() to reorder. For example: $handle = fopen("Arquivo.csv", "r"); $header =…
-
0
votes2
answers1736
viewsA: Format string/float for PHP currency
// Informa as configurações locais que serão usadas na formatação. // https://www.php.net/manual/en/function.setlocale.php setlocale(LC_ALL, 'pt_BR'); /** * Formata como moeda…
-
0
votes5
answers41336
viewsA: Number formatting (PHP)
This function can help: // Informa as configurações locais que serão usadas na formatação. // https://www.php.net/manual/en/function.setlocale.php setlocale(LC_ALL, 'pt_BR'); /** * Formata como…
phpanswered Bruno Chaves 1