There must be a simply answer to this but it's annoying the hell out of me. Please help.
(what I am asking may seem pretty pointless but it is the root of my problem)
In my web page I have the HTML code:
<span class="style6" id="TestSpan" onMouseOver="MM_changeProp('TestSpan','','innerHTML','New text','SPAN')">Text in span</span>
I also have:
echo "<span class='style6' id='TestSpan1' onMouseOver='MM_changeProp('TestSpan1','','innerHTML','New text1','SPAN')'>Text in span1</span>";
I must lack some basic understanding... but why does the HTML work and the php doesnt???????
When I view the webpage and go to view/source the output is the same (except for double and single quote differences).