Hi divinmike,
Thanks for your reply.
This is what I have so far.
mysql_select_db($database_accomm, $accomm);
$query_accomm_counties = sprintf("SELECT * FROM accom WHERE name = '%s' ORDER BY pic DESC", $colname_accomm_counties);
$query_limit_accomm_counties = sprintf("%s LIMIT %d, %d", $query_accomm_counties, $startRow_accomm_counties, $maxRows_accomm_counties);
$accomm_counties = mysql_query($query_limit_accomm_counties, $accomm) or die(mysql_error());
$row_accomm_counties = mysql_fetch_assoc($accomm_counties);
Then lots of html.....
The screen output is:
<td><span class="bodytextsmall">
<?php echo $row_accomm_counties['address1]; ?>
</span></td>
The code you posted, where do I place it with regard to the above.
Thanks again