A simple tutorial to code a php search