How to Create Alphabetical Lists
Posted: Tue May 20, 2003 11:38 am
Hi people,
I am a newbie just starting to code in PHP. I was using coldfusion until my boss decided to go into PHP. I want to create a alphabetical lists which will pass each each letter variable to another page which will be then queried and produce the results for that alphabet.
A B C D E F
What I have rite now:-
<?php
$i="A";
echo "<a href="employee_details.php?i=$i>A</a>";
?>
Not sure if this is right . Pls guide me. Thanks
I am a newbie just starting to code in PHP. I was using coldfusion until my boss decided to go into PHP. I want to create a alphabetical lists which will pass each each letter variable to another page which will be then queried and produce the results for that alphabet.
A B C D E F
What I have rite now:-
<?php
$i="A";
echo "<a href="employee_details.php?i=$i>A</a>";
?>
Not sure if this is right . Pls guide me. Thanks