Php Console Log Array June 8, 2022 by udhaya php console log array echo "<script>console.log(`" . json_encode($data) . "`);</script>";