RSS Feed/News Setting a checkbox custom field value

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
24,767
Points
823

Reputation:

I have a custom field which, when I tick the checkbox on the thread manually, appears in the xf_thread_field_value table with
field_idis_imported
field_valuea:1:{s:8:"imported";s:8:"imported";}

If I set the value of this custom field in code using
Code:

'is_imported' => 'a:1:{s:8:"imported";s:8:"imported";}',
however, i end up with an entry in the db that looks exactly the same to me but the...

Read more

Continue reading...
 
Status
Not open for further replies.
Top