first thing evident reading your code is that you need to add:
pnModDBInfoLoad('EZComments');
But this line should be
before calling pnDBGetTables(); or it will not works.
Also in your
SQL query you should test no only that that $column[sid] = $column1[objectid] but also that the ezcomment item is for the News module.
maybe there are other problems, you will need some testing.
--
Visit my
live reef aquarium [53].
My Amazon wish list [54].