how to parse wordpress post_meta table values

前端 未结 3 1665
遥遥无期
遥遥无期 2021-02-01 23:41

I have to parse wordpress post_meta table , particularly \"_wp_attachment_metadata\" field

For example:

Its value is for a po

3条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-02 00:29

    Try:

    $a = unserialize("");
    print_r($a);
    

    http://php.net/manual/en/function.unserialize.php

提交回复
热议问题