Use serialized data in meta value field

[ad_1]

Hi
I want to save a serialized data as post meta value but since it’s inside curly brackets it is not working. How can I save this data?
For example this:
a:6:{s:5:”width”;i:800;s:6:”height”;i:600;s:4:”file”;s:19:”2021/11/image-9.jpg”;s:8:”filesize”;i:95296;}

Thanks!

Regards,
Ahti

  • This topic was modified 1 hour, 19 minutes ago by ahtozz.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer