# Actionscript communicating with php/mysql - \> array

**URL:** <https://forum.kirupa.com/t/actionscript-communicating-with-php-mysql-array/324452>\
**Category:** Uncategorized\
**Created:** [August 22, 2011, 6:26am UTC](https://forum.kirupa.com/t/actionscript-communicating-with-php-mysql-array/324452 "2011-08-22T06:26:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chopficaro](https://avatars.discourse-cdn.com/v4/letter/c/5f9b8f/32.png) [@chopficaro](https://forum.kirupa.com/u/chopficaro)\
**Post date:** [August 22, 2011, 6:26am UTC](https://forum.kirupa.com/t/actionscript-communicating-with-php-mysql-array/324452/1 "2011-08-22T06:26:25Z")

</div>

this question’s about to blow all yo minds  
heres a tutorial on how to send variables to mysql and/or get variables from it with actionscript and php:

  
all makes perfect sense to me, but what if u want to read a whole database into flash and turn it into an array? its probably impossible but i want to display a database as a table in a flash app and i dont know how many entries are in the database.  
the first step is to probably make a php page with the database splayed out as a table, maybe with

row1col1=dan row1col2=jenson  
row2col1=jen row2col2=dennings

and so on as table entries, and then have flash urlrequest the page  
i can do that, but i dont know how to parse each column into an actionscript 3 array

if anyone knows how to do this they are probably here at kirupa, help me out guys
