Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php print to console

<script>
    console.log(<?= json_encode($foo); ?>);
</script>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #print #console
ADD COMMENT
Topic
Name
7+8 =