This is my query
SELECT * from status_votes where vote = 'like' and status_id = 1 and item_poster = 'LUcase'
It returns 0 rows, but when I view the table there are rows which match my query

Please let me know where I am going wrong…
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
My assumption is that perhaps there are leading or trailing spaces in your data that aren’t visible looking at the values in phpMyAdmin. Can you please try to edit a record in phpMyAdmin and see if it actually contain spaces.
Please try running this query:
If that doesn’t work, can you please share your table structure?