[wp-hackers] Please Help: How to compare 2 float values in meta_value column?

babyboy808 hi at eirestudio.net
Wed Feb 3 13:02:43 UTC 2010


Hi Guys,

I have about 100 posts in wordpress, all with a meta_key of price and a
value. How would I go about searching through all posts with a value between
23.00 and 41.00 for example?

I know that 'meta_compare ' treats 'meta_value' as a string, so I can't use
this to solve my problem.

Anybody have any clues?

Thanks
-- 
View this message in context: http://old.nabble.com/Please-Help%3A-How-to-compare-2-float-values-in-meta_value-column--tp27435706p27435706.html
Sent from the Wordpress Hackers mailing list archive at Nabble.com.


More information about the wp-hackers mailing list