Hi,
Currently I have a code that repeats for every letter of the ABC. I think there's a way to write a code to simmplify this task. Not sure how though. I have something like this:
<a href='".$_SERVER['PHP_SELF']."?ltr=A' class=";
if ($ltr == "A") { echo "bold"; } else { echo "regular"; } echo ">A</a> |
<a href='".$_SERVER['PHP_SELF']."?ltr=B' class=";
if ($ltr == "B") { echo "bold"; } else { echo "regular"; } echo ">B</a> |
<a href='".$_SERVER['PHP_SELF']."?ltr=C' class=";
if ($ltr == "C") { echo "bold"; } else { echo "regular"; } echo ">C</a>
and so on...
A lot of lines of code.