Choose you data structures carefully!
I would have a table with fields:
id,animal,owner,name,colour,gender,image,ears,head,body,tail
example values:
1,rat,123,dennis,green,male,rat1.jpg,4,8,6,6
(if you want to store info about the owner, another table provides the owner id)
With the above in...