right bit of a open question but i want to make sure im not heading in the wrong direction...

im in the middle of wrighting a database backed site manager...

1 thing i need to do of which im unsure of which way to go about it (not how to code it) is an aritcles sections, ive got it written at the moment so its all in one file and recalls the title and html contect of the article from the database...

dont really know the best way to generate next and previous pages, wether to use different rows in the database and a kind of id system or a other way...

the other thing is a template system,

im not asking / wouldnt waste peoples time by asking for code but maybe an insight to the most profesional and efficient way to write these 2 items, should i parse the php and call the html or is there a better way ? should i use classe's

in the article section, whats the best way to incklude the contect and effient way to recall it,

i apolgise for this being such an open question and im not wanting anyone to write it for me more of give any useful advice of similar ways people have accomplished these 2 things..

thanks for any 'pointing in the right direction'

sk