Welcome Guest, Not a member yet? Register   Sign In
NOT WORKING: Showing three calendars with three different months
#2

(This post was last modified: 09-19-2016, 11:43 PM by Avenirer.)

Could this be because you are not passsing the generate() method a valid integer? As i see you are passing date('m',strtotime(...)...)

'm' inside date() would return you with a number with "0" in front of it for months 1 to 9 (so, a string...). So maybe you should put 'n' instead of 'm' as the first parameter of date() or typecasting the value to an integer before passing it to the generate()?
Reply


Messages In This Thread
RE: NOT WORKING: Showing three calendars with three different months - by Avenirer - 09-19-2016, 05:54 AM



Theme © iAndrew 2016 - Forum software by © MyBB