I need to post a message on member.php for users that signed up before February 10. How do I target these users? Can I do something like: PHP: {php}if ($payment[_amember_subscriptions][begin_date] < 2012-02-10) {echo 'message here';{/php}
Here is the code: PHP: {php}$min_date = date('Y-m-d');foreach($db->get_user_payments($_SESSION[_amember_id],1) as $p){ if($p[completed] && $p['begin_date'] < $min_date) $min_date = $p['begin_date'];}if($min_date<'2012-02-10') print "message";{php}