Get f_read users from select

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

Get f_read users from select

Post by marc60 » Thu Apr 09, 2015 9:46 am

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

Locked

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