//CONNECTS TO THE DATABASE AND SELECTS IT
$user="llamabre_visitor";
$password="llama";
$database="llamabre_farms1";
mysql_connect(localhost,$user,$password);
@mysql_select_db($database) or die( "Unable to select database");
//SELECTS EVERYTHING IN THE TABLE llamadir
$selectedstate = $_POST['select'];
if ($selectedstate === NULL) {
$selectedstate = $_GET['state'];
}
$query1 = "SELECT * FROM farmsdir WHERE state='$selectedstate' ORDER BY name ASC";
$query2 = "SELECT * FROM statesdir WHERE state='$selectedstate'";
$result1 = mysql_query($query1);
$result2 = mysql_query($query2);
?>
$num2 = mysql_numrows($result1);
$o = 0;
while ($o<$num2) {
$name=mysql_result($result1,$o,"name");
?>
echo $name; ?>
$o++;
}
?>
About Us
LlamaBreeder.Com was created in 2006 and
is run by LlamaSalesList.Com, which is owned by Burnt Mountain Llamas, Inc.
This service was created to provide a place on the internet where llama breeders
can be found by the state or providence they reside. It is a service for anyone
wanting to find farms in their area or closest to their domicile. The breeders
listed benefit by being listed because interested persons make contact them
to inquire about their llamas for sale or a visit to their farm.
2007 will be the first year of full operation
with listings in as many states as possible. We would like to see at least one
farm per state listed. The directory will be available on CD later in 2007.
Copyright © 2006, LlamaBreeder.com. All Rights Reserved.