require('cms/_crutch.php'); require('_header.php'); ?> // display database content for this page $ss = ''; $ss.= "SELECT entry_text FROM editable_pg \n"; $ss.= "WHERE (entry_page = '".$_SERVER['SCRIPT_NAME']."') \n"; $ss.= "ORDER BY entry_date DESC \n"; $ss.= "LIMIT 1"; $rs = @mysql_query($ss, $conn); $errX = ''; $row = @mysql_fetch_array($rs) or $errX = ' Sorry, unable to fetch any dynamic content for this area.'; if($errX=='') echo $row['entry_text']; else echo '
'.$errX.''; ?> // output an invisible link to edit this page echo '