PHP: Composing links for menu items

[FONT=Arial][SIZE=2]Hi,[/SIZE][/FONT]

[FONT=Arial][SIZE=2]I have put together a frame for my pages where I have a fixed header, footer and menu. The page is called index.php. Now, I would like to use this page frame and load different content into the content area when o menu item is clicked.[/SIZE][/FONT]

[FONT=Arial][SIZE=2]I figured out I would like to have something like:[/SIZE][/FONT]

[FONT=Arial][SIZE=2]index.php or index.php?id=0 => loads the homepage
index.php?id=1 => loads the page linked to by the first menu item
index.php?id=2 => loads the page linked to by the second menu item[/SIZE][/FONT]

[FONT=Arial][SIZE=2]and os on…[/SIZE][/FONT]

[FONT=Arial][SIZE=2]Now, my question is what is the best way to compose the links for the menu items so that the id=xx value appeares in the URL and that I can extract this information afterwards (using HTTP_GET_VARS maybe?).[/SIZE][/FONT]

[FONT=Arial][SIZE=2]As you can tell easily tell, I’m a beginner at this.[/SIZE][/FONT]

[FONT=Arial][SIZE=2]Many thanks in advance![/SIZE][/FONT]