Posted 26 August 2012 - 09:48 AM
hi, how should i do the following:
user is asked to enter a username and password(DONE)
the username and password are signed to a variable(DONE)
the parts i need help with:
the program should search a table named Usernames for the username var(lets say its called Uname)
and if it finds the Uname valu in the table it would save its location to a variable
and search a table named Passwords for the password var (Pword)
and if it finds that in a table then save its location in a another variable and then compare the two locations and if they Match then program does shell.run("something") if they dont match the user will be shown a error message and the program would start again
user is asked to enter a username and password(DONE)
the username and password are signed to a variable(DONE)
the parts i need help with:
the program should search a table named Usernames for the username var(lets say its called Uname)
and if it finds the Uname valu in the table it would save its location to a variable
and search a table named Passwords for the password var (Pword)
and if it finds that in a table then save its location in a another variable and then compare the two locations and if they Match then program does shell.run("something") if they dont match the user will be shown a error message and the program would start again