conole print php
// Assuming you are wishing to log to the JS Console...
<?php
function consoleLog($msg) {
echo '<script type="text/javascript">' .
'console.log(' . $msg . ');</script>';
}
consoleLog('Hello, console!');
?>/*
console.log in php
*/
<?php
function consoleLog($message) {
echo '<script type="text/javascript">' .
'console.log(' . $message . ');</script>';
}
consoleLog('Hello, greppers!');
?>
Also in PHP:
- datepicker in php form
- decode base 64 php
- access PHP error log
- codeigniter get insert iditer print last query
- ctrl + d in vscode in phpstorm
- PHP check if 2 words given
- display errors off php
- add one day to date php
- contains in php string
- breaking long array in php
- date format php string
- descargar laravel
- execute query and use die in php
- check if array position exist php
- check laravel version cmd
- dateofrmat php
- How do I get a YouTube video thumbnail from the YouTube API?
- base64 decode encode php
- alphabet generator php
- create project laravel 6
- current timestamp in php
- check if all values in array are equal php
- ext-dom php 7.4 ubuntu
- contact ip address using php