[ad_1]
Hi, I just started with Snippets and wrote this in a php:
echo ‘<script type=”text/javascript”>’;
echo ‘alert(“JS alert box in PHP”)’;
echo ‘<script>’;
This should get the alert box to appear in any creation or opening of a post or page, should it not? – However nothing happens.
What am I doing wrong?
Thanks
