Thank you
Marco, still a lot to learn
Think the only issue I really have left is now "how do I seperate the data?". Currently, it's outputting <a href="url1url2url3url4url5url6"> when I'd like it to create the link for each of the url's. Code now is as follows:
PHP Code:
$result = @mysql_query('SELECT reference, imageurl, threadurl FROM highlightthread ORDER BY reference DESC LIMIT 0, 6');
if (!$result) {
exit('<p>Error performing query: ' . mysql_error() . '</p>');
}
while ($row = mysql_fetch_array($result)) {
$threadurl .= $row['threadurl'];
$imageurl .= $row['imageurl'];
eval('$highlights = "' . fetch_template('highlights') . '";');
}
Code in template $highlights, pretty straightforward..
PHP Code:
<a href="$threadurl"><img src="$imageurl"></a>
Thank you again for all the support, learning a lot by all means.