Hello, when I return values from my database I am outputing them into a <li> tag but long list will make the page huge... I know I need to use a for loop to break up the <li> and put a </ul> in there somewhere but cant figure out how to do this... if someone could help, id be greatly appreciative. Hers the code....
Code:<ul> while ($data = mysql_fetch_array($query, MYSQL_ASSOC)) { $city= $data['city']; $citylower= strtolower($city); echo "<li><a href='rate-page.php?state=$state&city=$city'>$city</a></li>"; } echo "</ul>";






Bookmarks