I have a userlogin table that contains the following fields:
username, password, lastlogin, privilege.
This table has three entries where there usernames are sgr, dwo and jsm.
On the command prompt if i perform the query:
SELECT * FROM userlogin WHERE username LIKE '%s%';
it returns the details for sgr and jsm - because of the %s% - make sure you have the ' ' if your field is a text field!
Try performing this query on the command prompt direct - if you are using MySql. See what happens then. If the field is of type number then let me know.
Hope this helps