$sql = "SELECT pid, title FROM " . $prefix . "_pages WHERE active='1'";
$sql = "SELECT pid, title FROM " . $prefix . "_pages WHERE active='1' LIMIT 5";