Tag Information

$value) $GLOBALS[$key] = $value; } elseif (isset($_REQUEST)) { foreach($_REQUEST as $key => $value) $GLOBALS[$key] = $value; } if (!$tag) { echo ("

No tag specified!

"); exit(); } $tag = rawurldecode($tag); include_once '../index/indexingfuncs.php'; connect_to_database(); $infoSQL = $dbh->prepare("SELECT TagParagraph FROM TagDetails WHERE Tag = :tagname"); $infoSQL->bindParam(":tagname", $tag); if ($infoSQL->execute()) { $paragraph = $infoSQL->fetchColumn(); if ($paragraph != "") { echo "

".$tag." " . $paragraph . "

\n"; } $infoSQL->closeCursor(); } else { echo "

Error performing query:

";
	print_r ($infoSQL->errorInfo());
	$infoSQL->debugDumpParams();
	exit();
}



echo ("

Pages with tag ".$tag.":

\n"; } else { echo "

Error performing query:

";
	print_r ($tagSQL->errorInfo());
	$tagSQL->debugDumpParams();
}


?>