Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php console log

<?php
	function consoleLog($msg) {
		echo '<script type="text/javascript">console.log('. $msg .');</script>';
	}
	consoleLog("'Hello world!'");
?>
Source by stackify.com #
 
PREVIOUS NEXT
Tagged: #php #console #log
ADD COMMENT
Topic
Name
6+5 =