Forums Gallery Movies File Hosting Classifieds Jokes Free Hosting Free Blogs

Go Back   BizHat Forums > Computer Forum > PHP Programming

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-02-2008, 12:25 PM
Junior Member
BizHat Newbie
 
Join Date: Nov 2008
Posts: 3
Default 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
Reply With Quote
Reply

Bookmarks

Tags
php

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 10:01 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0