I have a database containing all usernames. Now, I have a page where I can search for an user. At the moment I use the following SQL:
SELECT uid, username, id, status
FROM users
WHERE `username` LIKE <search string>
Now, I have a record with the username Hattorius
. But when I use that SQL syntax, and search for hatt
. It doesn't give any results. How can I still make this work?
I searched some around, but nobody really had an answer to this.