No Groups Matched. Try a less restrictive search. There may be search terms left from previous searches. You may wish to clear the form and start anew.\n"); } else { print("\n"); $numgroups = mysql_num_rows($result); // ------ Excel function for ($i = 0; $i < $numgroups; $i++) {$export .= "id=" . mysql_result($result,$i,3); if ($i < ($numgroups-1)) $export .= " || "; } $result = mysql_query($query) or die(mysql_error()); // ------ end Excel function if ($order=="country, name") $order="country"; print("

{$numgroups} groups matched, ordered by $order – Download contact information as Excel file

"); while ($line = mysql_fetch_row($result)) { print "\t
\n"; print ("{$line[0]}"); if ($line[4]=="United States" || $line[4]=="Canada") print (", {$line[4]}
\n"); else { if (!empty($line[1])) print (", {$line[1]}
\n"); else print ("
"); } if (strlen($line[2])>100) { $descrip = substr($line[2], 0, 100) . "... (more)"; } else { $descrip = $line[2]; } if (empty($line[2])) $descrip="-"; print ("{$descrip}

\n"); } } /* Free resultset & close*/ mysql_free_result($result); mysql_close($link); printf("

This directory is continually being updated and improved. Please help us to improve it by reporting any faults or comments to .

"); } else printf("

There is currently no data to display, please do a search first."); ?>