Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php echo an array to console

echo "<script>console.log('" . json_encode($data) . "');</script>";
 
PREVIOUS NEXT
Tagged: #php #echo #array #console
ADD COMMENT
Topic
Name
4+5 =