$tagged=$_sql->query("SELECT tagName FROM tags WHERE tagId = $seo[1]");
$entries=$_sql->query("SELECT entrySlug, entryTitle, entryPublished, entryBy FROM entries INNER JOIN tagged ON taggedEntry = entryId WHERE taggedTag = $seo[1] AND entryHidden IS NULL ORDER BY entryPublished DESC");