dkim1985
06-21-2013, 12:59 PM
Hey guys.
I'm still learning PHP and could use some help.
I'm working on a project and trying to implement something.
You can go here to see the issue..
s2MemberĀ® | Topic: Fixed EOT with auto generated year? (http://www.s2member.com/forums/topic/fixed-eot-with-auto-generated-year/)
Pretty much, just trying to create a PHP function to generate the 'year' based on when the user registers.
Date is set to July 31 but..
If the user registers before July 31, PHP should set the current year.
If the user registers after July 31, PHP should set the following year.
Thanks for anyones help!
I'm still learning PHP and could use some help.
I'm working on a project and trying to implement something.
You can go here to see the issue..
s2MemberĀ® | Topic: Fixed EOT with auto generated year? (http://www.s2member.com/forums/topic/fixed-eot-with-auto-generated-year/)
Pretty much, just trying to create a PHP function to generate the 'year' based on when the user registers.
Date is set to July 31 but..
If the user registers before July 31, PHP should set the current year.
If the user registers after July 31, PHP should set the following year.
Thanks for anyones help!