//get the q parameter from URL
_GET["q"];//lookup all hints from array if length of q>0
if (strlen(hint="";
for(i < count(i++)
{
if (strtolower(a[q))))
{
if (hint=i];
}
else
{
hint." , ".i];
}
}
}
}
//
response
// Set output to "no suggestion" if no hint were found// or to the correct values
if (response="no suggestion";
}
else
{
hint;
}
//output the response
echo
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.