some mysql and php help?

  • Thread starter Thread starter Deathgame3
  • Start date Start date
D

Deathgame3

Guest
hi so simple i have a plain list of link which is really long, there are about 400 links, this is the php code used to display them:
<a href="<?php echo $category->link; ?>" class="category"><?php echo $category->title;?></a> they are gained thru mysql, now since the list is really long, i want to create a jump list for it(to jump to all links starting wid A,B,C,D..etc) similar to here:

now to do tht i know first i wud have to do this: <a href="#a">A</a> then i wud have to place <a name="a"> before the first link starting wid A...and similar for the rest of the characters....but the problem is tht the list is displayed using php wid only this code:
<a href="<?php echo $category->link; ?>" class="category"><?php echo $category->title;?></a>

so i dont know where i shud put <a name="a"> etc....cuz i dont see the list tht means i cannot edit it :\ so please all help is appreciated!
 
Back
Top