А так не нра:
echo '<li class="sub"><a href="index.php?page=' . $page[0]. '">' . $row_sub[title] . '</a>';