# Brain Buster: Database order

**URL:** https://forum.kirupa.com/t/brain-buster-database-order/108986
**Category:** Uncategorized
**Created:** [April 30, 2004, 3:15pm UTC](https://forum.kirupa.com/t/brain-buster-database-order/108986 "2004-04-30T15:15:13Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![rlLife](https://avatars.discourse-cdn.com/v4/letter/r/eb8c5e/32.png) [@rlLife](https://forum.kirupa.com/u/rlLife)
#### Post date: [April 30, 2004, 3:15pm UTC](https://forum.kirupa.com/t/brain-buster-database-order/108986/1 "2004-04-30T15:15:13Z")

</div>

My database is working fine but:

I have a news section that draws from my database, my problem is that every time I want to add a new story I cant seem to figure out how to add it to the top without having to go into the database and move each story down clearing out the top id field. here is the way i am getting the info into flash

```auto

myData = new LoadVars();
myData.load("centerpointe.asp");
myData.ref = this;
 myData.onLoad = function(succes){
	if(succes){
		for(var i=0; i<this.cant; i++){
			this.ref["intro_txt"+i].html = true;
			this.ref["intro_txt"+i].autoSize = true;
            this.ref["intro_txt"+i].htmlText = this["Intro"+i];
	}
	} else trace("Error loading data");
}
stop()

```

i dont know if that helps.
