How do I set dynamic meta tags for a page with dynamic content

How do I set dynamic meta tags for a page with dynamic content

How do I set dynamic meta tags for a page with dynamic content
divider

Set up your database as normal for your content and add fields for:

  • Page Title
  • Keywords
  • Meta Description

Create a record-set for the page, retrieving the record for the page.

Add the information as follows:

<title>Site Title: <?php echo $row_rs_content['pg_title']; ?></title>
<META NAME="KEYWORDS" CONTENT="<?php echo $row_rs_content['pg_keywords']; ?>">
<META NAME="DESCRIPTION" CONTENT="<?php echo $row_rs_content['pg_description']; ?>">
Written by:  - 28 Sep, 2009