Well Fadillzzz, I have a suggestion for your script. Why dont you modify these lines a bit by replacing one-time loop with mysql_fetch_array()? All programming flaws such as the one below have been fixed in Mys v1.2.3:
PHP Code:
$i=0;
while ($i < 1) {
$aid=@mysql_result($result,$i,"aid"); //The adoptable's ID
$currentlevel=@mysql_result($result,$i,"currentlevel");
$type=@mysql_result($result,$i,"type");
$name=@mysql_result($result,$i,"name");
$tradestatus=@mysql_result($result,$i,"tradestatus");
$father=@mysql_result($result,$i,"father");
$mother=@mysql_result($result,$i,"mother");
$lastbred=@mysql_result($result,$i,"lastbred");
$adultdescription=@mysql_result($result,$i,"adultdescription");
$i++;
}