Answers for "display php array in javascript console"

PHP
1

php echo and array to consle

echo "<script>console.log('" . json_encode($data) . "');</script>";
Posted by: Guest on December-07-2020
1

php echo an array to console

echo "<script>console.log('" . json_encode($data) . "');</script>";
Posted by: Guest on December-07-2020

Code answers related to "display php array in javascript console"

Browse Popular Code Answers by Language