Well I managed to get the page to show without errors... I didn't know how to properly change this:
Code:
$adoptexist = mysql_num_rows($result);
So I removed it. The parents don't show up though :/
Edit: Lol... my wisdom tooth hurts and is making my brain stupid.. I fixed it :p