ims225
February 8th, 2010, 04:04 AM
Hi,
I'm an newbie to asp... i'm not having any database connections in my form.. i'm giving my own user id and password that should hav to satisfy the condition n go to the next page... i cant actually say wat i mean pl look at the code n help...
<form action="admin.asp" method="post">
<tr>
<td width="90" align="right"><span class="Estilo8">User Name: </span></td>
<td width="131"><div align="right">
<input type="text" name="username" size="16" >
</div></td>
</tr>
<tr>
<td align="right"><span class="Estilo8">Password: </span></td>
<td><div align="right">
<input name="password" type="password" size="16">
</div></td> </tr>
<tr>
<td></td><td><div align="right">
<input type="submit" value="Login" name="B1">
<%if username<>"betting" and password<>"bet1234" then %>
<%end if%>
</div></td>
I'm bit confused with this one... Pl help...
I'm an newbie to asp... i'm not having any database connections in my form.. i'm giving my own user id and password that should hav to satisfy the condition n go to the next page... i cant actually say wat i mean pl look at the code n help...
<form action="admin.asp" method="post">
<tr>
<td width="90" align="right"><span class="Estilo8">User Name: </span></td>
<td width="131"><div align="right">
<input type="text" name="username" size="16" >
</div></td>
</tr>
<tr>
<td align="right"><span class="Estilo8">Password: </span></td>
<td><div align="right">
<input name="password" type="password" size="16">
</div></td> </tr>
<tr>
<td></td><td><div align="right">
<input type="submit" value="Login" name="B1">
<%if username<>"betting" and password<>"bet1234" then %>
<%end if%>
</div></td>
I'm bit confused with this one... Pl help...