# Parameters galore

**URL:** <https://forum.kirupa.com/t/parameters-galore/206799>\
**Category:** Uncategorized\
**Created:** [November 11, 2006, 3:02pm UTC](https://forum.kirupa.com/t/parameters-galore/206799 "2006-11-11T15:02:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![thomas\_](https://avatars.discourse-cdn.com/v4/letter/t/85e7bf/32.png) [@thomas\_](https://forum.kirupa.com/u/thomas_)\
**Post date:** [November 11, 2006, 3:02pm UTC](https://forum.kirupa.com/t/parameters-galore/206799/1 "2006-11-11T15:02:35Z")

</div>

hi folks.

I’m struggling with a piece of code:

```auto
function lv(l, n, t, e, f) {
if (l == undefined) {
l = new LoadVars();
l.onLoad = function() {
var i;
n.htmlText = "";
if (t == undefined) {
n.htmlText += "<b>"+this["title"+e]+"</b><br>";
} else {
for (i=0; i<this.n; i++) {
n.htmlText += "<a href='"+this["link"+i]+"'>
"+this["title"+i]+"</a><br>";
}
}
};
}
l.load(f);
}
lv(sites_txt, "cycle", null, "sites.php");

```

this is taken from the tutorial:Flash, PHP, and MySQL Integration by Omega  
([http://www.kirupa.com/developer/actionscript/flashphpxml\_integration.htm](http://www.kirupa.com/developer/actionscript/flashphpxml_integration.htm))

the last line gives function lv 4 parameters, but in the first line, the function seems to need 5 of them.

Obviously I’m not fully understanding this code.

```auto

if (anyone could help me on this){
trace('thanks a 1000k!');}

```

cheers!
