Update best-match sql and php

the best match for reporter works but the one for gossip doesn't work
now