Hi
I'm trying to make this div disappear on condition that a value is zero but I'm having trouble with the quotes and the fact there is php in the middle of the code already
basically
so confused... can anyone help?
Thanks
H
I'm trying to make this div disappear on condition that a value is zero but I'm having trouble with the quotes and the fact there is php in the middle of the code already
basically
Code:
<?php if ($row_rs_images['img2'] == '0') echo ""; else echo "
<div id="item1" onclick="fn_getImage('<?php echo $sideimage4?>')"><a href="#" id="linky"><img src="<?php echo $sideimage4;?>" width="110" height="110" /></a>
</div>
"
so confused... can anyone help?
Thanks
H