ok here it is. i am sending quary to my data base amd when it finds a match it works fin but when it does not it does not return anything . i wnat it to return a message 'that says it did not find any thing does any one know a fuction in mysql or something else that could do this