Dave A
Member
- Joined
- 7 Jun 2005
- Messages
- 1,161
Wondering if anyone here could help.
I've got two forms, the same page but in different cells. One is a login form, the other a search form. For some reason every time I submit the login form, it directs to the search form? Cany anyone help me?
Search form:
Login Form:
Also, while I'm on the subject, does anyone know how to make a log in form dissapear, after the form has been submitted?
Thanks in advance
P.S. No comments pls about how messy it is
I've got two forms, the same page but in different cells. One is a login form, the other a search form. For some reason every time I submit the login form, it directs to the search form? Cany anyone help me?
Search form:
Code:
<FORM METHOD="GET" ACTION="/search/search.php" name="Search">
Search<INPUT NAME="q" TYPE="text" class="searchform" id="searchform">
<INPUT TYPE="submit" VALUE="Go" class="searchbutton" id="searchbutton">
Login Form:
Code:
<form action="/login.php" method="POST" name="Login">
<input type="text" name="username"><br />
<input type="password" name="password"><br />
<input type="submit" value="login" name="login">
Also, while I'm on the subject, does anyone know how to make a log in form dissapear, after the form has been submitted?
Thanks in advance
P.S. No comments pls about how messy it is