Glad that you solved the issue. In case you need it I will write you a note about mysql text size
"TINYTEXT is a string data type that can store up to to 255 characters.
TEXT is a string data type that can store up to 65,535 characters. TEXT is commonly used for storing blocks of text used for brief articles.
LONGTEXT is a string data type with a maximum length of 4,294,967,295 characters."
How to store an encryption key in a wpDataTables field?
I want to store a (long text value) value like:
wcBMA4kDXjH8+m6ZAQgAnWAOyneuiRM+kjGCqTKHkH+n6Mh8dF3xt3dSKTl4
qkcUy88qxG5e2RHBJE1jdduUKteENlkXN80naYkhQBRWpJSymRFYvqPi2ZtR
bfweJHdQuJEoET9nlU5+z0+hzEjv+EoJV5lcq4sp58iH8W920P+r2eIY0tly
LYbqxgXWeCG7jT3zD6FDNudGR57GjHWLfKrNT6GUyt68T9Jz+qSx4OeArKSL
HoLiCijgGGbvCFQUqj7hx2lEiIw+F59QFzdzKsX4W2jKIWiGRBnDPXnNR+g3
V8yICZy6KR/Ug/fag5wfjPMr8G1X5Kzufq03X+oePXPoueWJaM4rLFP0kwf3
f9JMATntHa7C13VEUlf8B8r+vrXfNa+fcTnaTEd29+rnc/UmXwdVzs8FUNmb
JC+dG+a/9hbEEKZgr6UTEqM27QG9A0d6GnGpouYVuQUY9A==
=zUjK
However wpDataTables does not save this data.
Thanks for your answer in advance.
(Update: solved already: I have extended the field type to 'long text' in mySQL in PhpMyAdmin panel)
Hi Peter,
Thank you for your purchase.
Glad that you solved the issue.
In case you need it I will write you a note about mysql text size
"TINYTEXT is a string data type that can store up to to 255 characters. TEXT is a string data type that can store up to 65,535 characters. TEXT is commonly used for storing blocks of text used for brief articles. LONGTEXT is a string data type with a maximum length of 4,294,967,295 characters."
So maybe this can be useful.
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Thanks a lot for this answer Bogdan. I now have changed my data type to 'text' instead of 'longtext' as text lenght will be sufficient.
Regards,
Peter