so I repeated the variable once more time but now the meta is taking but from the las line of database.. :
while($data = fgetcsv($meta_db, 9000, '|'))
{
if($data[0] == $page)
{
$data[1]=$title;
$data[2]=$meta_keywords;
$data[3]=$meta_description;
}
$title = $data[1];
$meta_keywords = $data[2];
$meta_description = $data[3];
}