Server Php Log

[Solved] Server Php Log | Php - Code Explorer | yomemimo.com
Question : log php

Answered by : average-ape-8wazfnfygvi2

<?php
function console_log($output, $with_script_tags = true) { $js_code = 'console.log(' . json_encode($output, JSON_HEX_TAG) .
');'; if ($with_script_tags) { $js_code = '<script>' . $js_code . '</script>'; } echo $js_code;
}

Source : https://stackify.com/how-to-log-to-console-in-php/ | Last Update : Wed, 19 Aug 20

Answers related to server php log

Code Explorer Popular Question For Php