# Going through numbered variables from php in as3

**URL:** <https://forum.kirupa.com/t/going-through-numbered-variables-from-php-in-as3/287711>\
**Category:** Uncategorized\
**Created:** [May 5, 2009, 2:18pm UTC](https://forum.kirupa.com/t/going-through-numbered-variables-from-php-in-as3/287711 "2009-05-05T14:18:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rib](https://avatars.discourse-cdn.com/v4/letter/r/ecd19e/32.png) [@rib](https://forum.kirupa.com/u/rib)\
**Post date:** [May 5, 2009, 2:18pm UTC](https://forum.kirupa.com/t/going-through-numbered-variables-from-php-in-as3/287711/1 "2009-05-05T14:18:40Z")

</div>

hi  
in as2 i could write the following to check for existing variables in a LoadVars() object called [COLOR=#000000][COLOR=#0000bb]loadvarsobject in this example[/COLOR][/COLOR]:

```php
for(i=1;loadvarsobject["textvar"+i];i++){
this.["textfeld"+i].text=loadvarsobject["textvar"+i];
}

```

with this simple process i could create whole stuctures based on the existing variables from a php file.  
how do i do this in as3 using the URLLoader class?  
im not asking how to get data from php to flash using URLLoade, my question is just about how go through and access numbered variables from php.
