how do I save varbinary data to database;

Status
This content is read-only, or is not open for further replies.

dsick

Guest
offline
can we insert varbinary data as a normal string or is there an extra step? the field id column is varbinary.

Code:

Code:
$threadFieldValues = \XF::app()->em()->create('XF:ForumField');
                $threadFieldValues->node_id = 2;
                $threadFieldValues->field_id = "fieldidtests";
                // var_dump($threadFieldValues);
                $threadFieldValues->save();

Continue reading...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom