nikadorji commented on a Page, Dynamic Title and Meta Tags  -  Mar 24, 2012

hello Hawkee
Please can u explain me how the following code works..

<?php

$database = 'get_meta.php';
$meta_db = fopen($database, 'r');

$page = $_SERVER['SCRIPT_NAME'];
$page = substr($page, 1);
echo $page;

while($data = fgetcsv($meta_db, 9000, '|'))
{
if($data[0] == $page)
{
$title = $data[1];
$meta_keywords = $data[2];
$meta_description = $data[3];
}
}

?>

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.