# High Score Table (empty table) HELP

**URL:** <https://forum.kirupa.com/t/high-score-table-empty-table-help/257754>\
**Category:** flash\
**Created:** [April 16, 2008, 8:08pm UTC](https://forum.kirupa.com/t/high-score-table-empty-table-help/257754 "2008-04-16T20:08:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ish100](https://avatars.discourse-cdn.com/v4/letter/i/839c29/32.png) [@ish100](https://forum.kirupa.com/u/ish100)\
**Post date:** [April 16, 2008, 8:08pm UTC](https://forum.kirupa.com/t/high-score-table-empty-table-help/257754/1 "2008-04-16T20:08:26Z")

</div>

Hey guys,

**[Flash8]**

Basically I’m making a high score table and the problem I am having is that for some reason I can’t see any of the information from my database table. I believe my php file is correct, I think the prob is somewhere in my action script but I just can’t see it.

I have attached the flash file and the php file. My database table was on wamp and have attached a screen shot of the table.

Flash file:  
[http://rapidshare.com/files/108043291/highscore.zip.html](http://rapidshare.com/files/108043291/highscore.zip.html)

Image of database table:  
[http://img225.imageshack.us/img225/2702/databasetm2.jpg](http://img225.imageshack.us/img225/2702/databasetm2.jpg)

Action script:

stop()

lv.onLoad = function(){  
numRows = lv.nRows;  
for(var n=0; n!=numRows; n++){  
obj = {};  
obj.Name = lv[‘name’+n];  
obj.N0 = lv[‘number\_of\_minimum\_attempts’+n];  
obj.N1 = lv[‘number\_of\_attempts’+n];  
obj.N2 = lv[‘number\_of\_wrong\_attempts’+n];  
obj.D = lv[‘date\_time’+n];  
arr[n] = obj;  
}  
makeFields(numRows); // show all results  
};

function makeFields(num){  
for(var n=0;n!=num;n++){  
\_root[“name”+n].text = arr[n].Name; name2.text, name3.text, name4.text, name5.text, name6.text, name7.text, name8.text, name9.text, name10.text  
\_root[“minimum”+n].text = arr[n].N0; minimum2.text, minimum3.text, minimum4.text, minimum5.text, minimum6.text, minimum7.text, minimum8.text, minimum9.text, minimum10.text  
\_root[“attempts”+n].text = arr[n].N1; attempts2.text, attempts3.text, attempts4.text, attempts5.text, attempts6.text, attempts7.text, attempts8.text, attempts9.text, attempts10.text  
\_root[“wrong”+n].text = arr[n].N2; wrong2.text, wrong3.text, wrong4.text, wrong5.text, wrong6.text, wrong7.text, wrong8.text, wrong9.text, wrong10.text  
\_root[“date”+n].text = arr[n].D; date2.text, date3.text, date4.text, date5.text, date6.text, date7.text, date8.text, date9.text, date10.text  
}  
}

Thanks guys
