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: 35,446
Thanks: 813
Thanked 5,214 Times in 4,089 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