Support

Account

Home Forums General Issues delete_field value from serialize array

Unread

delete_field value from serialize array

  • Hi.
    how can I remove a value from an array using a function?
    My array

    a:2:{i:0;s:1:″2″;i:1;s:1:″1″;}

    s:1:″2″ – this user ID
    s:1:″1″ 0 user ID

    I want to remove the current user ID from the array using the function

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.