Hallo,
ich arbeite gerade an einem Glossar und ich habe ein kleines Problem.
Ich möchte die wörter in Anfangsbuchstabe und sonderzeichen gruppieren.
Anfangsbuchstabe habe ich schon hingekriegt aber die wörter die mit Ziffern oder §,$,%,&,.,# kann ich nicht zusammen gruppieren. Die Code sieht so aus:
PHP-Code:
<table width="75%" border="0" align="center" class="navigation">
<tr>
<td align="center"><a href="show_glossar.php?cat=A" target="main"><strong>A</strong></a></td>
<td align="center"><a href="show_glossar.php?cat=B" target="main"><strong>B</strong></a></td>
<td align="center"><a href="show_glossar.php?cat=C" target="main"><strong>C</strong></a></td>
<td align="center"><a href="show_glossar.php?cat=D" target="main"><strong>D</strong></a></td>
<td align="center"><a href="show_glossar.php?cat=E" target="main"><strong>E</strong></a></td>
<td align="center"><a href="show_glossar.php?cat=F" target="main"><strong>F</strong></a></td>
<td align="center"><a href="show_glossar.php?cat=G" target="main"><strong>G</strong></a></td>
<td align="center"><a href="show_glossar.php?cat=H" target="main"><strong>H</strong></a></td>
<td align="center"><a href="show_glossar.php?cat=I" target="main"><strong>I</strong></a></td>
<td align="center"><a href="show_glossar.php?cat=J" target="main"><strong>J</strong></a></td>
<td align="center"><a href="show_glossar.php?cat=K" target="main"><strong>K</strong></a></td>
<td align="center"><a href="show_glossar.php?cat=L" target="main"><strong>L</strong></a></td>
<td align="center"><a href="show_glossar.php?cat=M" target="main"><strong>M</strong></a></td>
</tr>
<tr>
<td align="center"><a href="show_glossar.php?cat=N" target="main"><strong>N</strong></a></td>
<td align="center"><a href="show_glossar.php?cat=O" target="main"><strong>O</strong></a></td>
<td align="center"><a href="show_glossar.php?cat=P" target="main"><strong>P</strong></a></td>
<td align="center"><a href="show_glossar.php?cat=Q" target="main"><strong>Q</strong></a></td>
<td align="center"><a href="show_glossar.php?cat=R" target="main"><strong>R</strong></a></td>
<td align="center"><a href="show_glossar.php?cat=S" target="main"><strong>S</strong></a></td>
<td align="center"><a href="show_glossar.php?cat=T" target="main"><strong>T</strong></a></td>
<td align="center"><a href="show_glossar.php?cat=U" target="main"><strong>U</strong></a></td>
<td align="center"><a href="show_glossar.php?cat=V" target="main"><strong>V</strong></a></td>
<td align="center"><a href="show_glossar.php?cat=W" target="main"><strong>W</strong></a></td>
<td align="center"><a href="show_glossar.php?cat=X" target="main"><strong>X</strong></a></td>
<td align="center"><a href="show_glossar.php?cat=Y" target="main"><strong>Y</strong></a></td>
<td align="center"><a href="show_glossar.php?cat=Z" target="main"><strong>Z</strong></a></td>
</tr>
</table>
Ich dachte am Anfang, dass es reichen würde diese Code
PHP-Code:
<td align="center"><a href="show_glossar.php?cat=#" target="main"><strong>#</strong></a></td>
um die Sonderzeichen (§,$,.,&,%) zu gruppieren.
Kann mir bitte jemand sagen wie das geht?
LG
Seanyann