query($select_dept_contacts); while ( $a_row = mysql_fetch_array( $result_list )) { print ""; print ""; print "\n"; } CloseTable(); ?>
query($select_dept_list); while ( $a_row = mysql_fetch_array( $result_dept )) { if ( $a_row[serial] == $dept ) { print "

"; echo _CODE_DIR_DISP_ALL_CONTACTS; print"\"$a_row[department]\"

"; } } ?>
$a_row[lastname], $a_row[firstname] $a_row[title] $a_row[phone] $a_row[address]