Fixed in HTML failing to send long text into mysql with PHP [closed]

I have code tag in HTML then I send it to MySQL phpmyadmin via PHP. But when I type long text in that tag, it often gets errors or fails to send. How to fix it?

I want when I or the user type a long sentence or content, it can be uploaded. That’s what I need because I’m making a kind of blog website.