[eluser]lexusgs430[/eluser]
Is get_iterated allowed to be used in conjunction with where? I am having trouble with a script that is returning no errors and is silent failing. Code is below.
Code:
$items = new item();
$items->where('style_id', $style_id);
$items->get_iterated;
if(!$items->exists()) {
echo('No Items');
} else {
echo($items->result_count() . ' items were found.');
foreach($items as $item) {
$id = $items->id;
$items->_create_image_thumb_name($id);
echo "image created";
// process like normal
}
}