> Can you tell me how to get ###CURRENT_PID### used in the class? Well, there are two objects passed to your function: crossreference($PA, $fobj) $PA['items'] contains the items of the select box but check what else $PA has to offer. :) Tomas Mrozek