Code: Select all
andCode: Select all
tags where appropriate when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]
Heya please help, i need to retrieve the Posts in reverse order so the one added the most recently to the xml file will show up at the top...Code: Select all
foreach($posts -> post as $post)
{
if($post -> category =="$cid"){
echo "
<tr>
<td width='80%' height='45' bgcolor='#CCFFCC'><a href=?handle=viewpost&pid=" . $post -> id . ">" . $post -> topic . "</a></td>
<td width='20%' height='45' bgcolor='#66FFCC'>" . $post -> author . "</td>
</tr>";
}
}Jcart | Please use
Code: Select all
andCode: Select all
tags where appropriate when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]