Por si acaso, para evitarse problemas con las comillas, también disponemos de la sintaxis heredoc para las cadenas:
http://www.php.net/manual/es/languag...syntax.heredoc
Ejemplo:
Código php:
Ver original$cadena = <<<FIN
<table width="100%" height="25" border="0" align="left" cellpadding="0" cellspacing="0">
<tr>
<td><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image2','','JPG/boton-uea-B.jpg',1)"><img src="JPG/$boton" name="Image2" width="156" height="25" border="0" id="Image2" /></a></td>
</tr>
</table>
FIN;