Hwona |
06-16-2014 09:56 PM |
Umm I think this will only show an adoptable's mother and father, but you could try adding 2 columns to the owned_adoptables table that are titled something like "mother" and "father". When an adoptable is bred, you can try getting the parents' ids and then placing thme into the columns. Then you can go to the levelup page and get the adoptable's parent columns' values which you could put into variables. Then, try puting a link to 2 adoptables on the page and instead of putting an adoptable id, replace the id with the variables that contain the parents' ids. Do I even make any sense? I'm sure there's a better way to do this, but this is what worked for me on something similar. :3
|