You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Long text being trimmed at 4,000 characters

Accepted answer
39
Views
4
Comments
edited Jun 7, 2022 1:20PM in General Technical Discussions 4 comments

Content

Hi,

I have the code as outlined - very basic - however I noticed anything above 4,000 characters is being trimmed to just be 4,000 characters

I did a strlen($description) right before the code was called and it's indeed more than 4,000 characters but the data in the DB is only 4,000 characters

Am I overlooking something or is this a product defect? Isn't it supposed to hold up to 1Mb of data?

Thanks,

JJ

Code Snippet

$objective = RNCPHP\WMPConvo\objectives::fetch($id);
$objective->description = empty($description) ? '-':$description;
$objective->save(); 
RNCPHP\ConnectAPI::commit();

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!