考虑以下几点:快速的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