Editing errors in php search files