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
It should work try this
if ($x==1) $construct .= "number LIKE '".$str."%'";