I have a proplem..
Posted: Fri Aug 04, 2006 2:19 am
I have a site.But I have a proplem about dynamic title.
Site Title is static.so itsn't change every page.
I want change meta tag dependent in article Title. Namely, I want be article Title = page meta title
index.php code
main.php code
Can you help me?
Sincerely
Site Title is static.so itsn't change every page.
I want change meta tag dependent in article Title. Namely, I want be article Title = page meta title
index.php code
Code: Select all
..........................................
if (txt_direction == 'LTR')
{
echo '<html>';
}
else
{
echo '<html dir="rtl">';
}
echo '<head>
<title>';
echo title;
echo '</title>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=';
echo encoding;
echo '">
<META NAME="keywords" CONTENT="';
echo keywords;
echo '">
<META NAME="description" CONTENT="';
echo description;
echo '">
</head>
';
echo bodytagset;
echo '
';
.........................Code: Select all
.................
if ($article1 = mysql_fetch_array ($result1))
{
echo '<font color="black"><b>.</b></font> <a href="index.php?id=';
echo $article1['id'];
echo '" STYLE="color:';
echo catlist_title_color;
echo '; font-family:';
echo catlist_title_font;
echo '; font-size:';
echo catlist_title_font_size;
echo '; font-weight:';
echo catlist_title_font_weight;
echo ';">';
echo $article1['title'];
echo '</a><br>';
continue;
}
}
echo ' </td>
<td valign="top">
';
...................Sincerely