tableau de journaux de la console PHP
echo "<script>console.log(`" . json_encode($data) . "`);</script>";
ditii
echo "<script>console.log(`" . json_encode($data) . "`);</script>";