I have user defined fields profile_latitude and profile_longitude in profile table
I need search the records those have profile_latitude and profile_longitude.
Query:
$_params = array(
'exclude_jrUser_keys' => true,
'exclude_jrProfile_keys' => true,
'pagebreak' => 100
);
$_params['search'][]= 'profile_latitude != ""';
$_rs = jrCore_db_search_items('jrProfile',$_params);
For some reason its returning error. How can i pass value is not equal to null(!='') in this search parameter.Here my latitude or longitude values may be -ve numbers too.
Thanks in advance!
updated by @ashiksh: 12/02/14 09:05:49AM