Quote:
Originally Posted by richardhotscript
instead of returning only 110 and 52 it return these IDs 110,52 and 1 when it should ony be 110 and 52. Can you guys help fix this? Is there I can fix this without modifying the structure of my table?
|
If you use "LIKE" then mySQL returns all of the values that match any part of your specified string, which is probably why you're getting values back that you don't want or expect.