how to search exact number
this code is working like this
if i search 24626838(this is complete no) it is showing nothing
after that if
If you want to search for an exact number, use column='$number' instead of column LIKE $number. In the WHERE clause, I'd suggest to enclose even numbers in single quotes, because I recently encountered the problem that using WHERE column = 1234 this also matches 12345, but WHERE column = '1234' matches the very exact number only.