multiple mysql connections and arr[] push declaration