Loading - is this correct?

is this correct?


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


$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