Are you sure you're using the correct syntax for the placeholders in the statement? The docs suggest that what you're doing is incorrect.
Also, a couple of things:
1
You shouldn't leave your DB connection details in your post.
2. Is this application for your own learning or something meant for serious use? If the latter, you shouldn't be storing passwords in the clear; they should be hashed and salted.
Also, a couple of things:
1
You shouldn't leave your DB connection details in your post.
2. Is this application for your own learning or something meant for serious use? If the latter, you shouldn't be storing passwords in the clear; they should be hashed and salted.