Thanks again Norman. I've tried putting it in in a number of ways but it just doesn't want to work. Does anyone know where I could get a working example of code from a database being parsed? What I want to do is to call an include() from the database, which will itself have php in it. I really don't know if this is possible, but to call the include would be nice. Here's the full code----
<?php require_once('Connections/lycosconnect.php'); ?>
<?php
$colname_Recordset1 = "1";
if (isset($HTTP_GET_VARS['page_id'])) {
$colname_Recordset1 = (get_magic_quotes_gpc()) ? $HTTP_GET_VARS['page_id'] : addslashes($HTTP_GET_VARS['page_id']);
}
mysql_select_db($database_lycosconnect, $lycosconnect);
$query_Recordset1 = sprintf("SELECT * FROM globaldb WHERE page_id = '%s'", $colname_Recordset1);
$Recordset1 = mysql_query($query_Recordset1, $lycosconnect) or die(mysql_error());
$row_Recordset1 = mysql_fetch_assoc($Recordset1);
eval($row_Recordset1 ['page_title']);
$totalRows_Recordset1 = mysql_num_rows($Recordset1);
?>
<html>
<head>
<title>+ + + b a b e l w o r x + + +</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="css/babelworx.css" rel="stylesheet" type="text/css">
<link href="css/onceoff.css" rel="stylesheet" type="text/css">
</head>
<body>
<script type='text/javascript'>
//HV Menu- by Ger Versluis (http://www.burmees.nl/)
//Submitted to Dynamic Drive (http://www.dynamicdrive.com)
//Visit http://www.dynamicdrive.com for this script and more
function Go(){return}
</script>
<script type='text/javascript' src='exmplmenu_var.js'></script>
<script type='text/javascript' src='menu_com.js'></script>
<noscript>Your browser does not support script</noscript>
<table width="770" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/pwrtitle.jpg" width="770" height="92"></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="24%" valign="top" background="images/leftmenu.gif"><div align="center">
<p><font color="#FFFFFF" size="2" face="Arial, Helvetica, sans-serif"><strong>Your
Site Navigation:</strong></font></p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<table width="85%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#000066"><div align="center"><font color="#FFFFFF" size="2" face="Arial, Helvetica, sans-serif">Site
Information: </font></div></td>
</tr>
<tr>
<td class="babelworx"><p>babelworx deploys a powerful mix of
macromedia studio mx and a SuSE based LAMP system to bring
out the best in your website </p>
<table width="100" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><div align="center"><img src="images/geeko.png" width="86" height="47"></div></td>
</tr>
</table>
<p> </p></td>
</tr>
</table>
<p><font color="#FFFFFF" size="2" face="Arial, Helvetica, sans-serif"><strong><a href="phprint.php" class="onceoff">Print
This Page</a></strong></font></p>
</div></td>
<td width="2%"> </td>
<td width="74%" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr class="babelworx">
<td><font color="#000066" size="2" face="Arial, Helvetica, sans-serif">Welcome to
+ + + b a b e l w o r x + + + </td>
<td><div align="right">
<?php
echo( date("l, F dS Y.") ); ?>
</div></td>
</tr>
</table></td>
</tr>
<tr>
<td class="babelworx">
<!-- startprint -->
<?php
echo $row_Recordset1 ['page_record']?>
<!-- stopprint -->
</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td background="images/leftmenu.gif"><font color="#FFFFFF" size="2" face="Arial, Helvetica, sans-serif">Copyright
© babelworx 2003. All Rights Reserved.</font></td>
</tr>
</table>
</body>
</html>
<?php
mysql_free_result($Recordset1);
?>