php hint
// Date in the past
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
// 
// array with names
a[]="Brittany";
a[]="Diana";
a[]="Fiona";
a[]="Hege";
a[]="Johanna";
a[]="Linda";
a[]="Ophelia";
a[]="Amanda";
a[]="Cindy";
a[]="Eve";
a[]="Sunniva";
a[]="Unni";
a[]="Liza";
a[]="Ellen";
a[]="Vicky";
// 
code
//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
