If your child is complaining of a sore toe or toenail, this may be a condition called Onychocrytosis or an ingrown toenail. Usually they will complain of pain on one side of the toe nail, most commonly presenting in the big toes.
Find out about prevention and treatment of ingrown toenails here