Escape all single quotes?
I'm just not sure as to the exact syntax for entering it into $html - the code is repititions of the following (for a nav menu, the str_replace highlights the selected page)
<A HREF="page.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1','','Img/NavPageR.gif',1)">
<IMG NAME="Image1" BORDER="0" SRC="Img/NavPage.gif" WIDTH="42" HEIGHT="20" ALT="Page"></A>
How would I enter this into a variable?
$html = "...allthatabove.." will give a parse error for example :-/
I did try using the ENT_QUOTES but that didn't work
Thank you kindly for your help, I've been making faces at this all day 🙁