Hi
Another newbie, although I have read through several tutorials and understand the concepts and how it all works but there are some finer details that just don't seem to be explained.
1. Is there a glossary that gives some of the finer points of the language like what does i++ mean and that sort of thing.
2. Most of the different coding forums I've checked have at least one post asking for help developing a pedigree script. From what I've seen none have ever been resolved. I think php can do this and have an idea of what I want in a simple function:
table animal: animal_id, name, titles, dob, sire_id, dam_id
table sires: sire_id, animal_id
table dams: dam_id, animal_id
with all of the animals including sires and dams being housed in the animal table and the sire_id/dam_id referencing the parent animal_id not the child. Hope that make some sort of sense.
I want to build a function that will print the info for the animal in question and then will use the sire_id as the variable to find the next animal down the pedigree line. Basically the same function would be used over and over (sires and dams for each animal) until the pedigree of desired size is populated or until a false result is reached.
Since I haven't been able to find a stand-alone pedigree script I'm wondering if this is just not possible and I'm biting off more than I can chew here?
Thanks for any input.
Connie