I am having records in a field (field_id) of a table (in mysql database), which is having ID stored per line, for example
1
2
3
10
11
13
above is one record, and I have many records similar to that.
and, when I am writing the query SELECT * FROM $table_name where field_id like '%1%'
then the rows having the results like 10
11
13
are also returned. I am upset. How to overcome this problem? Can someone provide me any way? Thanks.




Reply With Quote





Bookmarks