update parser function outputSHIPS

Correcting error (left $result in fetch_object().  Now it works
properly.