php echo and array to consle
snippet in php

php echo and array to consle

user3018

echo "<script>console.log('" . json_encode($data) . "');</script>";