"; $sql=mysql_connect ("localhost", "halem3_halem3", "jeremiah2911") or die ('I cannot connect to the database because: ' . mysql_error()); mysql_select_db ("halem3_testimonials"); $query = "SELECT * FROM bovidr where Animal='$_REQUEST[Animal]' limit $rnd,1 "; $result = mysql_query($query, $sql); while($data = mysql_fetch_array($result)) { $ID = $data["ID"]; $Name = $data["Name"]; $Testimonials = $data["Testimonials"]; echo ""; } echo "
Testimonial ($number of $count)       view another       view more testimonials
$Name
$Testimonials
"; ?>