View Single Post
  #86  
Old 01-16-2011, 03:07 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 395,158
Hall of Famer is on a distinguished road
Default

Well this is what I thought right from the beginning. To do this, you will need to create a new database column called 'group' in the table adoptable and owned_adoptables. The group can have two values, namely cat and dog. The script will check if the adoptables belong to the same species group, and execute the codes for both cases. It will require a lot more work, and you may need to modify nadopt.php and doadopt.php too.
Reply With Quote