我有這種說法我怎麼只有當$ wprice是遍歷這個單元模型> 1如何將變量過濾器應用於此模型?
<?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>
感謝您的幫助...我顯然是新的PHP,我只是不知道如何適當地廣告,如果聲明。 – 2010-10-04 19:32:45