I have set up the search suggestor on my input box, created a php file and added it as the action.
I have manually tested the output of my php page and does infact output values.
print utf8_encode("new Array(" . implode(", ", $values) . ");"); //last line.
HTML:
<input class="inputbox" title="MaFia DDL Search" name="q" id="q" onfocus="clearBox(this.value);" onblur="resetBox(); fill();" autocomplete="off" value="<?php if (isset($_REQUEST['q'])) echo $_REQUEST['q']; else echo 'Enter Search Keywords'; ?>" action="include/suggest.php" columns="1" delay="1000" />
This is on my main index page:
<script type="text/javascript" src="<?=$siteurl?>include/SuggestFramework.js"></script>
<script type="text/javascript">window.onload = initializeSuggestFramework;</script>
<style type="text/css">@import url("<?=$siteurl?>include/SuggestFramework.css");</style>
When entering a search query i get no suggestions. Anys ideas? Or suggestions on what i can do to figure out what the issue at hand is?