In Magento i want to search the customer with the address(state,city,zipcode), can you explain to me how to the achieve that.
The customer collection query
$collection = Mage::getModel('customer/customer')->getCollection(); $collection->addAttributeToSelect(array('userid','firstname','lastname','profile_image','specialist','latitude','free_consult','longitude')); $collection->addAttributeToFilter('group_id',Federallawyer_Customer_Helper_Data::LAWYER);
$collection = Mage::getModel('customer/customer')->getCollection();
$collection->addAttributeToSelect(array('userid','firstname','lastname','profile_image','specialist','latitude','free_consult','longitude'));
$collection->addAttributeToFilter('group_id',Federallawyer_Customer_Helper_Data::LAWYER);
also my shipping and billing address is same.