I am trying to get the memberid corresponding to text enter into the textbox like this
SELECT member_Id FROM members WHERE concat(member_Firstname,'',member_Lastname) = S Thwaites
but it gives an error like this
“Error Code: 1064
You have an error in your SQL syntax;
check the manual that corresponds to your MySQL server version for the right syntax to
use near 'WHERE concat(member_Firstname,'',member_Lastname) = 'S Thwaites''
at line 1"
I am using MySQL
try with