https://www.icyphoenix.com/viewtopic.php?f=35&t=3634&p=24534#p24534
-----------------------------------
Mighty Gorgon
Mon 18 Feb, 2008 23:54

Re: Recent Posts In View Profile
-----------------------------------
[codeblock]$sql = "SELECT * FROM " . TOPICS_TABLE . "
WHERE topic_poster = '" . $user_id . "'
ORDER BY topic_time DESC
LIMIT 0,5";[/codeblock]

Replace [b]$user_id[/b] with the ID of the user you are watching the profile...

Good Luck! :mricy:


