View Single Post
  #11  
Old 12th September 2011, 12:44
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,070
Thanks: 826
Thanked 5,396 Times in 4,240 Posts
Default

I guess with the code:

$awmonth = date("m"+1-1);

you like to have the month without leading 0, so that it is 1 instead of 01? In that case it might be better to use this:

$awmonth = date("n");
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Sponsored Links