tried looking for the answer around here but I’m in way over my head, and it looks like this stuff can get really complicated.
not asking for a solution - just want to know if the problem lies within what I put up here (I hope), or if it’s something I’m doing elsewhere.
MANY THANKS
If scripting still doesn’t start, then it’s likely that something else is causing a scripting error which stops all further scripting from occurring. A deeper look in to a test demo page may be appropriate.
There are many many forbidden and wretched things in all versions of the code above… just so you know.
My guess is that the second one has issues because it’s got PHP in there, while the first has plain text. But I’m not sure, because what you posted is not what the browser sees.
Could you do a View Source and post that? That’s what the browser sees: your PHP will be HTML in the regular part of the page, and I’m curious to see what the PHP in the script tags become… PHP or HTML?
Or, does the second version work if you put plain text in there instead of PHP?