Get f_read users from select

Discussion forum for MOD Writers regarding MOD Development.
marc60
Registered User
Posts: 28
Joined: Thu Mar 21, 2013 2:20 pm

Get f_read users from select

Post by marc60 »

Hi,

I have a simple Selection:

Code: Select all

$topicid = $_GET["t"];
		$sql = 'SELECT poster_id, forum_id
			FROM ' . POSTS_TABLE . '
			WHERE topic_id = ' . $topicid;
I want only this poster_id´s where the users have permission to read the forum. How can I change the SQL therefore?

Thank you

Return to “[3.0.x] MOD Writers Discussion”