Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Of course, you'd need to join the users and subscriptions table then filter accordingly. Simple example as follows.I'm not against creating the list using myPHPadmin but unsure what SELECT statement might yield the results I'm looking for. Is that possible?
SELECT s1.`id` AS subscription, u.*
FROM `jos_users` AS u
INNER JOIN `jos_cbsubs_subscriptions` AS s1
ON s1.`user_id` = u.`id`
AND s1.`plan_id` = PLAN_ID_HERE
LEFT JOIN `jos_cbsubs_subscriptions` AS s2
ON s2.`user_id` = u.`id`
AND s2.`status` = 'A'
AND s2.`plan_id` != PLAN_ID_HERE
WHERE s2.`id` IS NULL
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.