Jump to content

Recommended Posts

I'm using this web script that works successfully. It has a section where I can add a text box to appear upon a web user log-in. Instead, what I'd like to do is make the log-in box (form) disappear as soon as the user logs-in. Can you tell where(how) I can change this code to accomplish that? Thanks for any help.

 

<br/>
<form action="login.php" method="post" accept-charset="UTF-8" class="middletext">
      <label><font class="font4_15">Username</font></label><span class="username"><input type="text" name="user_name_login" size="9" style="width:70px;" />
  <label><font class="font4_15">Password</font></label><span class="password"><input type="password" name="password_login" size="9" style="width:70px;" />
<input type="submit" value="[var.lang_login_now]" class="btn_vid1" /></a><!--<a href="login.php"></a>-->
<input type="hidden" name="submitted" value="yes" />
<input type="hidden" name="remember_me" value="remember_me" />
</form>
</td></tr></table>

<!--Begin Text Box-->
  <!--<div id="txt-box">-->
  <table id="tabX44">
      				<tbody>
			<tr><td>
  <!--<div class="header-narrow">Text Box</div>-->
  <div class="txt-narrow">

  </div>
  <!--<div class="container-narrow-bottom"></div>-->
  <!--[onload_337;block=div;when [var.show_login_box]!=1;comm]-->
        </td></tr>
  	  				</tbody>
			</table>
  <!--</div>-->
  <!--End Text Box-->

Link to comment
https://forums.phpfreaks.com/topic/211439-code-makes-box-appear-after-log-in/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.