Analogpoint &
Opserty,
Thank you very much for your help. I've edited the code to show this now:
edited, see below:
--------------- Added [DATE]1192514327[/DATE] at [TIME]1192514327[/TIME] ---------------
Interesting, when I load the PHP through logicians template it displays the last 6 as the code states. However when I run it through the plugin I only get the last value (i.e. the 6th). Any thoughts on what may be causing this? Note: $highlightimage is situated at the bottom of the navbar.
New code:
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)) {
$highlightimage = $row['reference'];
}
Thank you