If your beignets are raw inside, you didn't cook them long enough, or your oil was too hot and cooked the outsides too fast.