0
In the body tag of your html: <?php $out = "output"; echo "<script type='text/javascript'>"; echo "document.write(" . $out . ")"; echo "</script>"; ?> Is this what you mean? Note: this should work in a normal browser, but I'm afraid it doesn't work on sololearn.
2nd Feb 2019, 12:27 PM
Stef Schöningh
Stef Schöningh - avatar