I'm trying to figure out now to edit only certain parts of a constantly changing file.
Sample template candids.txt.:
#id name yes/no poll status
1 bob 0/2 O
2 joe 3/9 O
3 grr 9/9 C
this is basically a list of people that are being voted on
and below is the list of members who are the only ones that can vote upon the above people.
and another sample template members.txt:
members pos/stat cand.#:vote;
1 appleseed n 2:0;3:1;
2 ayden n 2:1;3:1;
3 beatbox n 1:0;2:0;4:1;
When a member logs in and votes on a candidate, it should only edit one smalle part of the other txt file. How would I go about doing this? K THANKS