$catid= $_GET['id'];
/* Connecting, selecting database */
$link = mysql_connect("localhost", "ukrcc_ukrcc", "ad227529")
or die("Could not connect : " . mysql_error());
mysql_select_db("ukrcc_ukrccbreeders") or die("
Could not select database
");
/* Performing SQL county query */
$query = "SELECT * FROM adoptions WHERE id=".$catid;
$result = mysql_query($query) or die("Query failed : " . mysql_error());
?>