Houdini below is the scripts.
I want to get rid of the
"<?php $page_title = 'Household Tips, Advice, Recipes, Shopping and More...';?>"
and have the title display the "title" field.
+++++++++++++++++++++++++++++++++++
content.php
<?php $page_title = 'Household Tips, Advice, Recipes, Shopping and More...';?>
<?php include_once ("headertipcatswhite.php"); ?>
<?php
// editing/adding script
// get the id from the URL request
$id = $_REQUEST['id'];
if( $id )
{
//Database Connection
include $_SERVER['DOCUMENT_ROOT'] . '/db.inc.php';
// retrieve the row from the database
$query = "SELECT * FROM tips WHERE id='$id'";
$result = mysql_query( $query );
if( $result && $contact = mysql_fetch_object( $result ) )
{
// set our variables
$id = $contact -> id;
$title = $contact -> title;
$author = $contact -> author;
$content = $contact -> content;
$category = $contact -> category;
}
}
?>
<center><table class="mytable1" width="800" border="0" cellspacing="1" cellpadding="5" bgcolor="dcdcdc">
<tr>
<td width="250" valign="top">
<?php include_once ("tipcategories.php"); ?>
</td><td width="430" bgcolor="ffffff">
<?php
echo "<h3><b>$title</b></h3>";
echo "<b>By:</b> <font color='blue'>$author</font><hr>";
echo $content
?>
<hr>
<?php include("referfriend.php"); ?>
</td>
<td width="120" valign="top">
<?php include_once $SERVER['DOCUMENT_ROOT'] . '/amazonbook.php'; ?>
<br><br>
<?php include_once $SERVER['DOCUMENT_ROOT'] . '/googleskyscraper.php'; ?>
</td>
</tr>
</table></center>
<?php include_once $_SERVER['DOCUMENT_ROOT'] . '/footer.php'; ?>
+++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++
header.php
<html>
<head>
<title><?php echo $page_title;?></title>
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++