PHP Code:
$photopostfeature = <<<PPPRINT
<table class="tborder" cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td>
<table cellpadding="$stylevar[cellpadding]" cellspacing="1" border="0" width="100%">
<tr>
<td class="tcat" colspan="5" align="center">
Featured Photos
</td>
</tr>
<tr>
$featured
</tr>
</table>
</td>
</tr>
</table>
<br />
PPPRINT;
PHP Code:
$featured .= <<<PPPRINT
<td align="center" class="alt2">
<font size="1" face="verdana,arial"><a href="{$url_path}/showphoto.php?photo={$line['id']}">$mthumb</a>
<br />by {$line['user']}</font>
</td>
PPPRINT;
$counted++;
}
if ( $counted == 4 ) break;
}
@mysql_free_result($result);
Does that help?
Its only 4 random images picked from the Gallery.
Thanks for the help.
Christian