I have some html code that I need to translate into PHPese.
I have managed to take this:
<html>
<td colspan=2><a href="{site_url}/users.php?mode=logout" onMouseOut="MM_swapImgRestore()" </html>
and successfully translate it into this:
<?php
print '<td colspan=2><a href="' . $_CONF['site_url'] . '/users.php?mode=logout" onMouseOut="MM_swapImgRestore()"';
?>
My problem is in trying to convert the following html lines into PHPese:
onMouseOver="MM_swapImage('buttonON','','{button_path}/ButtonON.gif',1)">
<img name="buttonON" src="{button_path}/button.gif" width=48 height=29 border=0></a></td>
note {button_path} comes from $_CONF['button_path'].
That "onMouseOver" command above is really tough for me. Can this be done?
Thanks for any help.