Question:

When i try to retrieve password from database i have to insert a space ?

by  |  earlier

0 LIKES UnLike

I have created a user login page for my website, when the user registers his username and password is stored in the database. but the user tries to loging username is fine but in the password field he has to insert a pace before his password for it to be accepted. Can any one help ?

 Tags:

   Report

2 ANSWERS


  1. check in your code/design when it was storing the password, may be it adds a space before it.

    or check when user supply his/her password in order to log on may be it truncate the first character before checking the password.


  2. if that space is necessary offer that space from your code.so at the event of pwd checking you can sove it using ur code.

Question Stats

Latest activity: earlier.
This question has 2 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.