Great! it works perfectly!
You’ve saved me a lot of time!
I got my answer here
http://ww.wp.xz.cn/support/topic/289352?replies=3
$values = $wpdb->get_col(“SELECT meta_value
FROM $wpdb->postmeta WHERE meta_key = ‘yourmetakey'” );
thanks a lot all & “codex.ww.wp.xz.cn” — this is a real place to find all 🙂
There is a plugin called “Custom Fields Permalink”
http://ww.wp.xz.cn/extend/plugins/custom-fields-permalink/other_notes/
And I use ” %cfp_a_customfield_name% “
” %cfp_a_city%”
But that is not working,I dont why?