hola que tal?..estoy pasando lo que funciona bien en html, a php...tengo un problemita y otra ves estoy peleandome con las comillas en php...les muestro el codigo y si se dan cuenta de lo que esta mal te los agradecería.
lo que tengo es la ruta a un archivo jpg y este tiene un evento para que se despliegue al pasar el mouse...
este es el codigo:
<?php
echo '<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-uea-A.jpg" name="Image2" width="156" height="25" border="0" id="Image2" /></a></td></tr>
</table>';
?>
por las dudas si no se entiende aca les paso lo mismo pero en html que funciona bien:
<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-uea-A.jpg" name="Image2" width="156" height="25" border="0" id="Image2" /></a></td></tr>
</table>