THe following line of code gives me an "invalid character" error in frontpage 2003
I have isolated it to the \' characters however if I chanf ge it to just ' the page will not load when placed on my web site
I get a
Parse error: parse error in /../..//test.html on line 326
error
What is the solution
<?PHP
function printhtml($message) {
.........
echo ' <img border="0" id="img13" src="Images/button69.jpg" height="20" width="100" alt="Support" onmouseover="FP_swapImg(1,0,/*id*/\'img13\',/*url*/\'Images/button6A.jpg\')" onmouseout="FP_swapImg(0,0,/*id*/\'img13\',/*url*/\'Images/button69.jpg\')" onmousedown="FP_swapImg(1,0,/*id*/\'img13\',/*url*/\'Images/button6B.jpg\')" onmouseup="FP_swapImg(0,0,/*id*/\'img13\',/*url*/\'Images/button6A.jpg\')" fp-style="fp-btn: Soft Rectangle 5" fp-title="Support"></a></td> '. "\n";
.......
}
?>
I have isolated it to the \' characters however if I chanf ge it to just ' the page will not load when placed on my web site
I get a
Parse error: parse error in /../..//test.html on line 326
error
What is the solution
<?PHP
function printhtml($message) {
.........
echo ' <img border="0" id="img13" src="Images/button69.jpg" height="20" width="100" alt="Support" onmouseover="FP_swapImg(1,0,/*id*/\'img13\',/*url*/\'Images/button6A.jpg\')" onmouseout="FP_swapImg(0,0,/*id*/\'img13\',/*url*/\'Images/button69.jpg\')" onmousedown="FP_swapImg(1,0,/*id*/\'img13\',/*url*/\'Images/button6B.jpg\')" onmouseup="FP_swapImg(0,0,/*id*/\'img13\',/*url*/\'Images/button6A.jpg\')" fp-style="fp-btn: Soft Rectangle 5" fp-title="Support"></a></td> '. "\n";
.......
}
?>