//if you are going to use the result a second time on the page you must do this to go back to the start.
mysql_data_seek($result,0);
?>
</ul>
</div>
<div id="content">
<h1>Welcome</h1>
<p>Content on this site is organised into categories, please select a category of interest below or in the menu, to view content within that category.</p>
<?php
//the categories listed with descriptions in the main body of the page