Forum Moderators: coopster
Ive tried it with quotes and with escaped quotes, and even single quotes, but cant seem to get it right.
Could someone give me a double check
<?php $thumb= "<a href=\"properties/files/$i\" onmouseover=\"MM_swapImage('theImage','','properties/files/<?php echo $i; ?>',1)\" onmouseout=\"MM_swapImgRestore()\"><img src=\"../properties/files/th_$i\"></a>" ?>
thanks
Steve
$thumb= "<a href=\"properties/files/$i\" onmouseover=\"MM_swapImage('theImage','','properties/files/$i',1)\"
onmouseout=\"MM_swapImgRestore()\"><img src=\"../properties/files/th_$i\"></a>";
PHP automatically parses all $variables inside double-quotes.