Hi,

I am trying to get some text underneeth each image. I thought it would
work with the excample profided in de zip (php excample), but I cant
seem to get it to work.

This is the code the php file must gather:
<ul>
<div class="imgLM">
        <?
                // lets see if there is an image for this listing
                if($iresult = $phprealty->getIntTableRows($fields="*",
$from="prop_img", $where="p_id=".$res['id']." AND def=1", $sort="",
$dir="", $limit="1", $push=true)){
        ?>
                <li><a href="<? echo $viewPropURL."&propID=".$res['id']; ?>"
title="<? echo ucwords($res['address']).ucwords($res['city']).",
".ucwords($res['state'])." ".$res['zip']; ?>"><img src="<? echo
$phprealty->IMGWWW."th_".$iresult[0]['fn']; ?>" border="0" /><br /><?
echo ucwords($res['address']);?><br /><? echo$cf-
>formatWithSymbol($res['price'],"USA");?></a></li>
        <?
                }else{
        ?>
                <li><a href="<? echo $viewPropURL."&propID=".$res['id']; ?>"
title="<? echo ucwords($res['address']).ucwords($res['city']).",
".ucwords($res['state'])." ".$res['zip']; ?>"><img src="<? echo
$phprealty->WWW; ?>assets/no_img.png" border="0" /><br /><? echo
ucwords($res['address']);?><br /><? echo$cf-
>formatWithSymbol($res['price'],"USA");?></a></li>
        <?
                                        }
        ?>
</div><!-- end img div -->
</ul>

Any one has a idea to make this work with jcarousel (the script itself
must stay in the html file like the excample)?

Thx

Reply via email to