Student warns others after texting, driving accident