Php Get Data From Mysql Into Array Definition In Python