Ok im back again and i am still trying to loop through my database in a template. is this how i would loop through it? i need to loop through the ID of the item first then while its still doing that print out the data?

so

loop {

$dbid

loop {

$dbtext

}

}

or something like that? do you think you could help me put this in php?