I know that you can set a limit on a varchar entry in a database, but can I make it unlimited somehow? Is there another datatype that is unlimited?
It looks like no. So, like, in these forums, posts are stored in a database right? At least, I’m assuming. If theres a maximum on the amount of characters that can be in a post, it must be pretty large right? So, I just have to make the maximum number of characters really large it looks like. I want to use a database to store long text for my website.
It seems like you don’t know about the various data types in mysql. the link would give you that information. You realize a TEXT field is larger than VARCHAR right? If you need to save items larger than what can be held by LONGTEXT then you should be storing the documents outside your database and saving the path to the file in your database.