$select=mysql_query("SELECT * FROM cms_config") or die(mysql_error());
$config=mysql_fetch_array($select);
$select2=mysql_query("SELECT * FROM cms_pagina WHERE id=$pagina") or die(mysql_error());
$pagina=mysql_fetch_array($select2);
$titel=$config['content']." :: ".$pagina['naam'];