![]() |
Type of field to create in forum table?
I want to have a text area in each forum's edit/add screen. I know how to do that. I want to allow vbcode and htmlcode, I know how to do that too. One thing I don't know how to do or know if it's possible or not:
The field to create in the database...now a huge amount of text and code is to be entered into this text area and saved to the database, so i'm wondering, can a database store this much information? What query do I run to create the field? What details should the field hold? Type, size, etc. all that complicated stuff I never bothered to learn :p |
TEXT. IIRC it can store upwards of 65,536 characters.
Actually I was wrong: http://www.mysql.com/doc/en/Column_types.html. Use LONGTEXT for obscene amounts of text (4294967295 chars *falls out of chair*). |
Mega-cool, 4294967295 chars, I can work with that!
I'm running MySQL 4.0.11a on localhost, and I must say, it is great :D. |
;)
mediumtext should be really enough for all ;) |
What if some one has loads and loads of rules for a forum? :p
|
hehe, i wan't to see the user which reads these rules completly and then registers ;)
|
Someone who has a lot of time on their hands ;).
|
Quote:
(a link to an external rules page) :rambo: |
hehe, well I'm just trying to leave options open for users who install the hack I used the longtext in, just incase they want to put up some huge document in some forum before you can post a new thread :p.
|
All times are GMT. The time now is 11:40 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|