I wonder if how could i achieve this code:
these are the conditions
1. there will be 2 text-areas
2. the text-area will be having a input of several lines of
like this one:
Griffon
Treant
Werebear
High Elf
Efreeti
Vampire
Sheep
Elven Archer
Militia
Archer
Dark Elf Magician
3. the program must read each line, and check the database for each unit's attribute
4. then compare the first text-area to the 2nd..
5. set up the pair-ups
6. print the pairups
btw., here is how the units pairs up?
Stack pairing
thank you..guide me please