How to apply a variable filter to this model?

Upliplebrelia

New Member
I have this view how do I only iterate this unit model when the $wprice is > 1\[code\]<?php $model->getFeaturedVehicles(10, 0, unserialize($vtype), unserialize($makes), $p1range, $p2range, $filters) ?> <div id="adspecials"><?php while ($unit = $model->iterate()): ?> <div class="adwrapper"> <div class="ad"> <h1 class="cufon"><?php echo $unit->wprice,'</h1><h4>Preferred Club Pricing</h4>' ?> </div> </div> </div><?php endwhile; ?></div>\[/code\]
 
Back
Top