# loadVar

**URL:** <https://forum.kirupa.com/t/loadvar/72167>\
**Category:** flash\
**Created:** [December 2, 2004, 9:23pm UTC](https://forum.kirupa.com/t/loadvar/72167 "2004-12-02T21:23:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![VoS](https://avatars.discourse-cdn.com/v4/letter/v/22d042/32.png) [@VoS](https://forum.kirupa.com/u/VoS)\
**Post date:** [December 2, 2004, 9:23pm UTC](https://forum.kirupa.com/t/loadvar/72167/1 "2004-12-02T21:23:26Z")

</div>

hey, im just wondering for the best way to read variables of a .php page into flash

the page output looks like this  
array[0,0]=1&array[0,1]=3&…

i tried load([http://urlhere](http://urlhere/));  
but that dident work =p

then i tried

```auto

myVars = new LoadVars();
myVars.load("[http://xev.mine.nu/nyheter/news.php?search=des","0](http://xev.mine.nu/nyheter/news.php?search=des)");
myVars.onLoad = function() {
test3="wee";
} 

```

but that dident work either  
the real problem is, i guess that i need it to read in the variable array[0,0]=1  
just like that and not use sumthingrather=(myVars.varname)

because there will be a hell of alot of variables , and the variable ammounts will switch and i cant do a  
sumthingrather=(myVars.varname)  
for all of em

thanks  
//VoS
