Add some query from custom Plugin
#8
$memprofile['uid'] = (int)$memprofile['uid'];
$query = $db->simple_select('TABLE_NAME', '*', "uid='{$memprofile['uid']}' AND payment_status='Completed'");
$user_subscription = $db->fetch_array($query);

$user_subscription['plan'] = htmlspecialchars_uni($user_subscription['plan']);
$user_subscription['dateline'] = my_date('relative', (int)$user_subscription['dateline']);

There you have something to work upon.
Reply


Messages In This Thread
Add some query from custom Plugin - by CivilEA - 2018-01-10, 11:34 AM
RE: Add some query from custom Plugin - by Omar G. - 2019-01-05, 05:18 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)