runnerjp Posted March 7, 2007 Share Posted March 7, 2007 hey guys... got my page with an image and login box... i only whant these to appear if the user is logged in as a "guest" is there sum "what if" statement i can use to get rid of boxes when user is logged in? Link to comment https://forums.phpfreaks.com/topic/41603-only-want-my-image-to-appear-when-guests-are-viewing-site/ Share on other sites More sharing options...
runnerjp Posted March 7, 2007 Author Share Posted March 7, 2007 would something liek this work <? if($auth[error]) { <center> <a href="../register.php"><img align="middle" src="../images/bemem.gif" alt="signup" width="280" height="250" border="0" /></a> </center>; } else { ; } ?> Link to comment https://forums.phpfreaks.com/topic/41603-only-want-my-image-to-appear-when-guests-are-viewing-site/#findComment-201568 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.