-
PHP coding help needed
Hi, I have a embedded video website comprised of a main page, with header (head.php). Head.php contains the usual meta info on top. Ex:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>blah blah</title>
<meta name="robots" content="index, follow" />
<meta name="revisit-after" content="1 days" />
<meta name="keywords" content="blah blah" />
<meta name="description" content="blah blah " />
The title and keywords on head.php are static when on main page, which is fine with me.
Here's my problem/question:
When I were to click one of my movie thumbs from the main page, it opens up a viewer page called view_video.php. This page contains a unique title of the video, along with tags (keywords). I want to be able to have the video title appear in <title>blah blah</title> and the tags appear in <meta name="keywords" content="blah blah" />.
The title/tags come from mysql database.
This way every video page has it's own unique title/keywords for the google bots to crawl.
This should help, I've posted my code.
head.php : pastebin private pastebin - collaborative debugging tool
view_video.php : pastebin private pastebin - collaborative debugging tool
Title is defined as: $video['title'];
Tags defined as : $video['tags']
Hope someone can figure this one out!
Thanks!!
______________________
Las vegas resort escape the room
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks