Refresh page with new contents

Hello,
Can anyone please help me building a site in php? ;D
Basicly what i want to do is:
i have a bunch of links. when i click that links the dynamic content from a mysql db appear above the links.
I need to do this without open a new page because i’m using mootools with the acoordeon script, and inside each “tab” theres contents. when i’m inside one tab i want to have links, and clicking each link new contents appears.
Don’t know if i’m explaining clear what i want to do…
When i do this opening a new page is easy, i just put on the links something like newpage.php?id=games and then the page newpage.php open and the recordeset from games is echoed. but how to do that without leaving the page? refreshing or something like that… i’m lost :confused:
Thanks in advance.
btw… i’m working with dreamweaver but i can write the code on had with no problem