My daughter was sick last night twice and her temp is over 38. She has been in bed all day and night. And complaining her neck is hurting.

Doctor. She needs an exam and possibly blood tests to determine what is happening. The neck pain makes any doctor sensitive to the possibility of meningitis, but neck pain is also common in routine respiratory infections. Get her checked by a medical practitioner.