How can I use PHP Code for the links.xml file for the Live Search Script (http://www.w3schools.com/php/php_ajax_livesearch.asp).
I have thousands of Links, which I want to be searchable.
<?phpforeach ($verbs["a"] as $key => $list) {echo '<link>'."n";echo '<title>'.($verbs["a"][$key]).'</title>'."n";echo '<url>a/'.letter($verbs["a"][$key]).'/</url>'."n";echo '</link>'."n";} ?>
I want also to know, how to change the script, because I want, that the first letter should be find only words, which starts which this letter and so on.
like
Search: A
Alfred
Andy
Anna
Astrid
Search: An
Andy
Anna