Posts by Mikael Valentine • 1 point
1 post
-
0
votes1
answer672
viewsQ: Print JSON formatted using PHP
I have the following code: <?php $arquivo = scandir("Arquivo"); $data = array(); foreach ($arquivo as $img) { if (!in_array($img, array(".",".."))) { $filename = "Arquivo" . DIRECTORY_SEPARATOR .…