Simple query_posts / meta_compare question.

Hello.

[php]<?php query_posts($query_string . '&meta_key=type&meta_compare=>=meta_value=$hello'); ?>[/php]

What’s wrong with that code? It doesn’t work. Neither does the following.

[php]<?php query_posts($query_string . '&meta_key=type&meta_compare=>=meta_value=' . $hello); ?>[/php]

Thanks so much!

Well considering there is no PHP Function called query_posts that might be a start to your problem. Unless it is a custom function you have created. Or someone else created it and you copied their main code without getting the function.

Sponsor our Newsletter | Privacy Policy | Terms of Service