FAQ Database Discussion Community


Combine meta values into a new key (PHP/WordPress)

php,mysql,wordpress,meta-key
Here's what I need to do, in laymen's terms: For each wordpress user, find every meta key that starts with "FOO_" then combine all the meta values into a new key named "FOO_COMBINED" My question refers to WordPress, but I think applies generally enough to PHP or SQL, that I...

How can merge two arrays values in one array and save in database

php,arrays,wordpress,meta-key
I am working on WordPress upload meta fields. When user upload images the images are sized in two dimension one is "thumb" and one is "big" and they re sized very perfectly. I save both of images dimension path in database with different meta keys Like: for thumb image wpc_resize_thumb_images...