Hi,
in my db I have fieldsand keywords field have comma separated values entered by user.PHP Code:values, url, keywords
In my live search script only first value from this keyword field is considered as a value.
here is the code
how to iterate trough each keword field to be considered by script not just first one.PHP Code:$query = $db->query("SELECT value, url, keywords FROM my_DB WHERE keywords LIKE '$queryString%' LIMIT 10");
if($query) {
while ($result = $query ->fetch_object()) {
$strUTF = iconv('cp1250','UTF-8',$result->value);
echo '<a class="bodyText" href="'.$result->url.'"><li onClick="fill(\''.$strUTF.'\');">'.$strUTF.'</a></font></li>';
}
}
Regards,









Bookmarks