Can someone tell me how I can change this -
ABCDEFGHIJKLMNOPQRSTUVWXYZ
to this format all the way to Z -
A - B - C - D - E
From the following code??
I tried some of the implode code that is commented out...no go. Thx
<?php
$element = 'agents_broward_sample___last_name';
$url = 'http://'.$_SERVER['HTTP_HOST'].'/broward-agents-alphabetical-search';
$letters = array('A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z');
/* $letters = implode(" - ", $letters);
*/
foreach($letters as $l){
echo "<a href='{$url}?resetfilters=1&".$element."[value]=$l%25&".$element."[condition]=LIKE'>$l</a>";
/* echo "<a href='{$url}?resetfilters=1&".$element."[value]=$l%25&".$element."[condition]=LIKE'>$l</a>";
*/
}
?>


