Welcome Guest, Not a member yet? Register   Sign In
Validation helper for login form?
#1

[eluser]inktri[/eluser]
So there are input fields: Username and Password
I want to make a rule so that size of:
Code:
select id from users where username = 'username' and password = md5('password') limit 1;
must equal 1

This rule needs data in both Username and Password fields. How would you go about creating a rule which requires data from multiple fields such as the case above

Thanks for the help


Messages In This Thread
Validation helper for login form? - by El Forum - 04-25-2008, 06:06 PM
Validation helper for login form? - by El Forum - 04-25-2008, 06:12 PM
Validation helper for login form? - by El Forum - 04-25-2008, 06:14 PM
Validation helper for login form? - by El Forum - 04-25-2008, 06:34 PM
Validation helper for login form? - by El Forum - 04-25-2008, 06:48 PM
Validation helper for login form? - by El Forum - 04-26-2008, 04:08 AM
Validation helper for login form? - by El Forum - 04-26-2008, 11:12 AM
Validation helper for login form? - by El Forum - 04-26-2008, 01:15 PM



Theme © iAndrew 2016 - Forum software by © MyBB