I'm not sure exactly what you mean but I'll throw something out there and see if that helps get things moving for you.
You could certainly query a set of links from a database to show on a page:
Beware, this is not actual code, just typed in on the fly. So there may be some errors in there.
$pageid = mysql_real_escape_string(...);
$sql = "select link_url, link_text from menu_links where pageid = '$pageid'";
if ( !$res = mysqli_query($link,$sql) )
die("ERROR: Unable to query menu links!\n");
$list = array();
while ( $row=mysqli_fetch_assoc($res) )
$list = $row;
foreach ($list as $row)
$link_url = $row['link_url'];
$link_text = $row['link_text'];
echo "<a href=\"$link_url\">$link_text</a><br>\n";