Php Mysql Select Into Array Methods In Java