How could you display all the post in a loop with a (custom) meta_value containing a word/phrase? for exemple get al the post where meta contains ‘test’.
query_posts('post_type=SOME&category_name_2=SOME&meta_value= 'Cotains the word 'test' ??? ');
so when the meta tags are ‘test movie’ or just ‘test’ you get them both.?
No need for a custom query. Since 3.1, you can use a ‘meta query’;
Check out the codex on custom field parameters.
by Using “Custom select query”