PHP conditional links with mouseover
Posted: Wed Mar 04, 2009 9:05 am
Is it possible to have a conditional button appear with mouseover functionality? Here is my theoretical code that does not work:
If there is a way to do this, please let me know. Thanks!
Code: Select all
<?php if ($accountstatus['AccountAccepted'][0]==Accepted) {print("<a href ='account.php'><img src=images/3_black.jpg id='Image03' onmouseout='MM_swapImgRestore()' onmouseover='MM_swapImage('Image03','','images/3_grey.jpg',1)'></a>");} ?>