A - Z
Posted: Sat Dec 03, 2005 8:40 pm
I have a list of bands that are both alpha and numerically titled. (ie: 63 Monroe, .50)
I am currently sorting them into a-z with this code
and
But this doesn't display any names starting with a number or other character.
Can this be remedied to list all of them under say... a hash mark for 'misc'?
I am currently sorting them into a-z with this code
Code: Select all
if($_POST["bandletter"]=="")
{
$bandletteru="A";
$bandletterl="a";
}
else
{
$bandletteru=strtoupper($_POST["bandletter"]);
$bandletterl=strtolower($_POST["bandletter"]);
}Code: Select all
<?for($x=65; $x<91; $x++)
{?>
<a class="navhover" href="#" onClick="document.nav.bandletter.value='<?=chr($x);?>'; document.nav.submit();">&#<?=$x;?>; </a>
<?}?>
<Can this be remedied to list all of them under say... a hash mark for 'misc'?