# Loading - is this correct?

**URL:** https://forum.kirupa.com/t/loading-is-this-correct/159847
**Category:** Uncategorized
**Created:** [August 21, 2005, 2:39am UTC](https://forum.kirupa.com/t/loading-is-this-correct/159847 "2005-08-21T02:39:07Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![kdd](https://avatars.discourse-cdn.com/v4/letter/k/ecb155/32.png) [@kdd](https://forum.kirupa.com/u/kdd)
#### Post date: [August 21, 2005, 2:39am UTC](https://forum.kirupa.com/t/loading-is-this-correct/159847/1 "2005-08-21T02:39:07Z")

</div>

is this correct?

```auto

link.loadVariables("[http://localhost/load.php",this,"POST](http://localhost/load.php)");
link.onLoad()
{
for ( j = 0 ; j <= ( link.dataRows - 1 ) ; j++ )
{
nameArray* = eval("link.nameArray" + i);
trace(nameArray*);
}
}

```

edit: this is my php file

```php

$totalRows = mysql_num_rows($result);
 
echo "dataRows=$totalRows";
while ( $temp = mysql_fetch_array($result) )
{
echo "&nameArray$i=" . $temp['Name'];
$i++;
}

```

i’ve tested my php file, it works correctly
