Single Friends is the ultimate and exciting online expat and uk dating site for all age groups. Find love and friends with us here online by posting your personal ads. With so many UK residents and expats around the world looking for love and friendship, your next friend or partner is just a click away.

We have UK expats looking for love dating and friendship from different parts of the world and of different ages. So whether you are 18 or in your 50s or 60s are from the UK or are an Expat living abroad, register today with our online internet dating and start meeting new people."; ob_start("ob_gzhandler"); require_once("conn.php"); require_once("includes.php"); $q1 = "select * from personal_categories order by field(CategoryID,'8','2','4','3','6')"; $r1 = mysql_query($q1) or die(mysql_error()); while($a1 = mysql_fetch_array($r1)) { $MyID[] = $a1[CategoryID]; $MyName[] = $a1[CategoryName]; $q2 = "select count(*) from personal_catalog where CategoryID = '$a1[CategoryID]' "; $r2 = mysql_query($q2) or die(mysql_error()); $a2 = mysql_fetch_array($r2); $MyNumber[] = $a2[0]; } if(!empty($MyID)) { for($i = '0'; $i <= (count($MyID)); $i+=1) { $one = $i; $two = $i + 1; $three = $i + 2; $categories .= "\n\t\t"; if(!empty($MyID[$one])) { //($MyNumber[$one]) $categories .= "\n\t\t"; } else { $categories .= "\n\t\t"; } /* if(!empty($MyID[$two])) { //($MyNumber[$two]) $categories .= "\n\t\t"; } else { $categories .= "\n\t\t"; } if(!empty($MyID[$three])) { //($MyNumber[$three]) $categories .= "\n"; } else { $categories .= "\n"; } */ $categories .= "\n
$MyName[$one]  $MyName[$two]  $MyName[$three]  
\n"; } } //get the template require_once("templates/HeaderTemplate.php"); require_once("templates/IndexTemplate.php"); require_once("templates/FooterTemplate.php"); ?>