Hi mummyjj
Just like sadgirl_30 said, panic attacks are often caused by underlying problems. Sometimes life changing events, extreme stress, or other seemingly unrelated problems can be the trigger or cause behind a panic attack.
It is great and important that your daughter is really trying to get back to school. Her wanting to get better will play a big role in her recovery.
If your daughter's school has a clinic, they may have an in house psychologist there. This person can see your daughter first to discuss the problem. Other than that, try looking for other psychologists in your area. Getting your daughter assessed by one is an important step.