Fixed edit item finding the input

please stop using mass "echo" statements in php. Just exit php mode. The
offending code would probably not have existed without them.