Jump to content

Title Help [Quick Help]


Boxerman

Recommended Posts

Can any of you help me fix this? No matter what when I am reading any article it will set the title to the latest article rather than the article in question.

 

Here is my code:

 

 

 

while($rows=mysql_fetch_array($sql_result1))
{
if (isset($_GET['id']) == false)
{
  $news_title = "Index";
}
else if (isset($_GET['id']) == $rows['id'])
{
  $news_title = $rows['title'];
}
}

 

 

<title>Ali Razaqpur - News - ', $news_title, '</title>

 

Link to comment
https://forums.phpfreaks.com/topic/116758-title-help-quick-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.