Hi I try selecting names from my database using LIKE and it works fine on names where there is no number. However when there is a number behind the name the pattern does not match. How do I match names with numbers and other characters using LIKE? for example name:john ... WHERE name LIKE '%john%' works well but name:john12 ... WHERE name LIKE '%john%' does not work
It should work. The problem must be another. Are you sure the name is 'john12' and not for example 'John12' ? Why don't you post your code, maybe we can find the problem.