Answers for "php array to string console log"

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

Browse Popular Code Answers by Language