WHERE rodstvo IN ('00011', '00001', '00010', '10001', '...n');
public function filterLike($field, $value){
if (strpos($field, '.') === false){ $field = 'i.' . $field; }
$value = $this->db->escape($value);
$this->filter("$field LIKE '$value'");
return $this;
}
var arr=[1,2,3,4,5,6,7,8], i=arr.length;
while(i--){
if(arr[i]%2) console.log(arr[i]);
}