Morning Any chance you can give me some hints as to where I'm going wrong with this. Or at least some advice on how to get the errors to display so I can work it out for myself. Please do bear with me... I'm at the noob stage where I still need to keep the book on my lap. :) Here is my DB connection script [code] <?php DEFINE ('DB_USER', 'usertype1'); DEFINE ('DB_PASSWORD', 'password'); DEFINE ('DB_HOST', 'localhost'); DEFINE('DB_NAME','Withheld'); $dbc = @mysqlconnect(DB_HOST, DB_USER, DB_PASSWORD) OR die ('Could not connect to mysql: ' . mysql_error()); @mysql_select_db (DB_NAME) OR die ('Could not select the database: ' . mysql_error().''); ?>[/code] I think the above is ok... I followed that one traight from the book.... Here is my query code which I had a go at myself using the code from the book and changing the relevant details for my own DB. [code] <div id="Layer4" style="position:absolute; left:170px; top:169px; width:700px; height:594px; z-index:5"> <?php require_once ('mysql_connect.php'); $query ='SELECT title AS Title, author AS Author FROM content ORDER BY author'; $result= mysql_query($query); if ($result) { echo '<table><tr><td> Title</td><td>Author</td></tr>'; while ($row=mysql_fetch_array($result, MYSQL_ASSOC)){ echo '<tr><td> '. $row['Title'] .' </td><td> '. $row['Author'] .' </td></tr>';} echo '</table>'; mysql_free_result($result); }else{ echo '<p> The current query did not execute successfully</p>'; echo '<p>' .mysql_error() . '<br /> <br /> Query: '. $query .' </p>';} mysql_close(); ?> </div>[/code] this section is in a division of my index.php file and is the only bit of dynamic code I've tried to implement. Its really driving me crazy I have the database set up and all the content but I can't get the pages to display the query results. I'm not receiving any errors at all. When I open the webpage from my htdocs folder it looks like it refreshes the page but nothing is displayed. What have I done? Thanks in advance for your assistance. Regards Giraffe