Print values in an NXN matrix

0

I have this code that prints a value horizontally and I want it to be printed as a nxn matrix, here my code:

<?php 
    include('config.php');

        $sq2 = "SELECT * FROM acarga WHERE bl3 = '1' ";
        $result3 = mysqli_query($connex, $sq2);

                while($row2 = mysqli_fetch_assoc($result3))

     $test = $row2['bl3'];

    echo $test ;

    }
?>

    
asked by leonardo rodriguez2 31.08.2018 в 21:09
source

0 answers