Im having problems inserting a Onmouse over lines with php...
This code is in my include.inc.php :
<?
#------------------------------------------------------- php code here
$layoutA =" html code for layout here ";
$layoutB =" html code for layout here ";
?>
Now this is a regular page Im trying to create.
<?
#------------------------------------------------------- php code here
if ($layout == "A"){
ECHO "$layoutA"
}
?>
Now the proble with this code begins when a mouseoveractoin is inside the code it give me an error ... it says expecting object in line *?
This is my onMouseover code: (I'm using Dreamweaver MX)
<a href="/adoptapet.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Adopt a Pet','','images/smooth11/buttons/lmb_on__14.gif',1)">
<img src="images/smooth11/buttons/lmb_off__14.gif" alt="Adopt a Pet" name="Adopt a Pet" width="92" height="35" border="0">
</a><BR>
Thankyou 🙂