What is the cleanest way to extract custom variables from a post

If you always need all of post meta at once this is the way to do it.

To access post meta for specific key use get_post_meta() that will retrieve value(s) and unserialize if needed.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)