[SOLVED]Strange </script> problem!!
Posted: Sat Jun 05, 2004 4:25 pm
Dear All
Of the all the problems I have had in making code, this has got to be the strangest.
I have a <SCRIPT> clause like this
Notice the capitals in </SCRIPT>. Now here's the bizarre thing....
On my page, when I execute it, the code comes up as text. When I look at the source code on my browser to check it out, after the
Immediately comes a
Which explains why the code comes up as text - but this is something I have not typed in and is not present on the original PHP script before heading to the client! However, I have check and rechecked the code, even deleted the <SCRIPT> clause and retyped it manually again and deleted lines above and before it, and yet the strange </script> code keeps on appearing.
Can someone explain what is going on? This is weird!
Many thanks
Mark
Of the all the problems I have had in making code, this has got to be the strangest.
I have a <SCRIPT> clause like this
Code: Select all
<SCRIPT LANGUAGE='JavaScript'> ...my javascript code generated by PHP/MySQL... </SCRIPT>On my page, when I execute it, the code comes up as text. When I look at the source code on my browser to check it out, after the
Code: Select all
<SCRIPT LANGUAGE='JavaScript'>Code: Select all
</script>Can someone explain what is going on? This is weird!
Many thanks
Mark