wordpress query, how to query a numeric range -
I currently have a custom field with numeric values, my goal is to query these numerical values among a number.
What do I have:
'meta_query' = & gt; Array ('key' = & gt; 'score', 'value' =>; 1.8 ',' type '= & gt;' DECIMAL ',' compare '=>) =' / Code> This does not return the score corresponding to the above example 1.8000 .. Any ideas what I am doing wrong? thank you in advanced.
change decimal to CHAR and compare Used between methods .. the CHAR parameter should not have worked but it did.
Comments
Post a Comment