Php Mysql Select Into Array In Math