WordPress

Retrieving a Specific Value From A Serialized Array MySQL

Database structure is as follows: id|metaKey|metaValue –+——-+———————————– 55|product|a:8:{s:3:”sku”;s:0:””;s:8:”products”;a:3:{i:1;a:3:{s:6:”option”;s:1:”1″;s:5:”price”;s:5:”14.95″;s:9:”saleprice”;s:0:””;}i:2;a:3:{s:6:”option”;s:0:””;s:5:”price”;s:0:””;s:9:”saleprice”;s:0:””;}i:3;a:3:{s:6:”option”;s:0:””;s:5:”price”;s:0:””;s:9:”saleprice”;s:0:””;}}s:11:”description”;s:124:”Lorem ipsum dolor sit amet, consectetur adipisicing elit, […]

No More Posts Available.

No more pages to load.