So, nun ist eine neue Woche und hier sind die Files:
In {root}4images (fotolexicon.php):
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" width="100">
<table border="0" width="100%">
<tr>
<td width="100%" colspan="27" align="center"><a name="tob"><font size="2"><strong>Fotolexikon (auch aus analoger Zeit)</strong></a></td>
</tr>
<tr>
<?php
     for ($i = 65; $i <= 90; $i++) {
      print "<th><font size=\"1\"><a href=\"#".chr($i)."\">".chr($i)."</a></th> ";
      }
    ?>
</tr>
<tr>
<td width="100%" colspan="27"> </td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#FFFFFF" width="100%" id="AutoNumber1">
<?php
  require("config.php");
$link=mysql_connect("$db_host","$db_user","$db_password");
mysql_select_db("$db_name") or die ("Cannot connect database!");
 
  $sql = "SELECT * FROM ".$table_prefix."fotofaq ORDER by fotofaq_item";
  $result = mysql_query($sql);
 
  $sqlitem = mysql_num_rows($result);
 
    while($row = mysql_fetch_object($result))
      {
$itemIndex = $row->fotofaq_item{0};
if ($itemIndex != $itemLast)
  {
  print "<tr>";
  print "<td class=\"row1\" width=\"17%\" align=\"left\"><strong>$itemIndex</strong><a name=\"$itemIndex\"></a></td>";
  print "<td class=\"row1\" width=\"83%\" align=\"right\"><a href=\"#tob\">nach oben</a></td>";
  print "</tr>";
  print "</tr><td width=\"100%\" colspan=\"2\"> </td></tr>";
  $itemLast = $itemIndex;
          }
print "<tr>";
        print "<td class=\"row2\" width=\"17%\" align=\"left\" valign=\"top\">$row->fotofaq_item</td>";
print "<td class=\"row2\" width=\"83%\" align=\"left\" valign=\"top\">$row->fotofaq_declaration</td>";
print "</tr>";
print "</tr><td width=\"100%\" colspan=\"2\" border=\"0\"> </td></tr>";
     }
  ?>
</table>
</div>
Im Template-Ordner (z.B. die error.html ändern --> fotolexicon.html):
...
<?php include("fotolexicon.php"); ?>
...
Tabellen-Struktur in MySQL (4images_fotofaq):
id_fotofaq int(3)
fotofaq_item varchar(45)
fotofaq_declaration text
Demo, auf den Banner klicken und im Header nach dem Fotolexikon suchen.