I am trying to code an image file for an onclick event. It works outside of the php coding but not inside:
This works:
<td width="3%" align="center">
<img src="Images/archive.gif" alt="View Revision History" border="0" onclick="MM_showHideLayers('RA','','show')"/> </td>
This doesn't:
<?php
echo " <img src='Images/request.gif' border='0' alt='Request Access' onclick='MM_showHideLayers('RA','','show')' />";
?>
is it the quotes?
This works:
<td width="3%" align="center">
<img src="Images/archive.gif" alt="View Revision History" border="0" onclick="MM_showHideLayers('RA','','show')"/> </td>
This doesn't:
<?php
echo " <img src='Images/request.gif' border='0' alt='Request Access' onclick='MM_showHideLayers('RA','','show')' />";
?>
is it the quotes?