0 if strlen($q)>0 then { hint=""; foreach ($a as $element) if($q in start of $element) if hint="" hint=$element; else hint=hint + " , " + $element; } //'Output "no suggestion" if no hint were found return $hint; ?>