Skip to content
Advertisement

Can’t extract string from database sql

My aim is to test if the user and password inserted, existed in Table1. However, if I typed (pink,floyd) which exists in the database count still null and it appears the message “user doesn’t exist”.

Here’s my database :

enter image description here

Advertisement

Answer

It turns that the stocked user and pass parameters in Table1 hasn’t the same length of input parameters . So , we need to change :

to

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement