can you define "not working"?

On Tue, 5 Oct 2004 17:43:54 -0400, Phillip Perry
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm trying to do a simple password deal. This is my code for the form...
>
> <form action="" method="post">
> Username: <input type="text" name="username"><br>
> Password: <input type="password" name="password"><br>
> <input type="submit" value="Submit">
> <input type="reset" value="Reset">
> </form>
>
> And here is the process page code:
> <cfquery name="confirm_user" datasource="#mydbname#">
> SELECT *
> FROM maintenance_un_pw
> </cfquery>
> <cfif #form.username# IS 'username' AND #form.password# IS 'password'>
>
> ...do this if ysername and password is right...
>
> <cfelse>
>
> ....what to do if its wrong.....
> <p></p>
> </cfif>
>
> I tried it with "'s and with ' and with just plain words without ' or " and
> nothing works. Anyone have any ideas?
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to