$clicked=substr(basename($SCRIPT_NAME),8,1);?>
Category Index
$alphabet="ABCDEFGHIJKLMNOPQRSTUVWXYZ";
$i=0;
while($i<26):
$letter=substr($alphabet,$i,1);?>
$i++;
endwhile;
?>
if (($clicked != "")&&($clicked!=".")):
echo "Categories Beginning with the Letter $clicked";
$search=$clicked."%";
$result=msql("YellowPages","SELECT * FROM CATEGORY WHERE CatName CLIKE '$search' ORDER BY CatName")?>
$numrows=msql_numrows($result);
$i=0?>
VALIGN=top ALIGN=center>
Please click on the category which most closely matches your requirements
|
$CatName";
$i++;
endwhile;?>
Return to Search Screen