cameeob2003 Posted June 21, 2006 Share Posted June 21, 2006 I was wanting the following to display:[code]<form name="form1" method="post" action="login/checklogin.php"> <div style="position: absolute; top: 191px; left: 253px;"> <input style="position: absolute; top: 2px; left: 60px; width: 100px; height= 20px;" name="myusername" type="text" id="myusername"> <input style="position: absolute; top: 25px; left: 60px; width: 100px; height= 20px;" name="mypassword" type="text" id="mypassword"> <input style="position: absolute; top: 52px; left: 120px; background-image: url(img/login_button.gif); width: 51px; height: 15px; border: 0;" type="submit" name="Submit" value="">[/code]Only if the user is not logged in. If the user is logged in I want it to show an admin/user panel. I was wondering how I would go about doing this. I dont need the scripting for the admin panel just for the displaying portion.Any help is appreciated. Link to comment https://forums.phpfreaks.com/topic/12511-displaying-login-only-if-not-logged-in/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.