考慮以下幾點:快速的PHP問題導致
$img_pathm = JURI::root().'images/properties/images/'.$this->datos->id.'/';
$peque_path = JURI::root().'images/properties/images/thumbs/'.$this->datos->id.'/';
$result = count($this->Images);
$resultf = $result-1;
while ($resultf>=0){ ?>
<span class="editlinktip hasTip" title="<?php echo $this->datos->image1;?>::
<img border="1" src="<?php echo $peque_path.$this->Images[$resultf]->name; ?>" name="imagelib" alt="<?php echo JText::_('No preview available'.$img_pathm); ?>" width="206" height="100" />">
<img src="<?php echo $peque_path.$this->Images[$resultf]->name; ?>" alt="Additional image <?php echo $resultf+1 ?>" width="65px" height="50px"/></span> <?php
$resultf--; }
目前這打印圖像一前一後。我需要做的就是顛倒這些圖像打印給用戶的順序。我不知道在哪裏,或者我該如何在此代碼中插入類似於ORDER的東西?提前致謝!
謝謝,就是這樣! – skarama 2010-03-09 18:47:06