Great! it works perfectly!
You’ve saved me a lot of time!
I got my answer here
http://wordpress.org/support/topic/289352?replies=3
$values = $wpdb->get_col(“SELECT meta_value
FROM $wpdb->postmeta WHERE meta_key = ‘yourmetakey'” );
thanks a lot all & “codex.wordpress.org” — this is a real place to find all 🙂
There is a plugin called “Custom Fields Permalink”
http://wordpress.org/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?