"); while ($data = mysql_fetch_object ($result)) { echo (""); } echo ("

Search by
"); echo ("Pedigree name
"); echo ("Call name
"); echo ("Titles"); ?>

>Advanced options

Sex selection

Male
"); echo ("Bitch
"); echo ("Both
"); echo ("
Color filter
"); echo ("Unknown
"); echo ("Tricolour
"); echo ("Blue Merle
"); echo ("Sable/White
"); ?>

"); echo ("

Found " . mysql_num_rows ($result) . " match"); if (mysql_num_rows ($result) > 1) echo ("es"); echo (".

  Pedigree nameCall name
Flag & 1)) echo ("fe"); echo ("male.gif\" width=\"10\" height=\"10\" border=\"0\">"); switch (($data->Flag & 6) / 2) { case 0: echo ("U"); break; case 1: echo ("T"); break; case 2: echo ("B"); break; case 3: echo ("S"); break; } echo ("IntID . "\">  " . $data->PName . "" . $data->CName . "
"); } else echo ("No dogs matches your query."); mysql_free_result ($result); } else echo ("Invalid query."); } else printf ("Error opening database: %s\n", mysql_error ()); mysql_close ($link); } else printf ("Error connecting to database: %s\n", mysql_error ()); } else { ?>
link_id); if ($result) { $oText = mysql_fetch_object ($result); echo $oText->txt; } else echo "Unable to retrieve from DB.
"; $DB->Destruct (); ?>