Hey all,

I am currently using the following to echo the 1st Current_month:

echo "1st '.date('F').'.";

So that would say, for example, 1st October.

What would I need to do to echo the next month? In this case 'November'?

Thanks for any help!

I am using this but it isn't working (which I thought it would)

echo date('Y-m-d',strtotime("+1 month"));

Sorry tell a lie it is working I was refreshing the productions erver and not my development server - sorry!

'.date('F',strtotime("+1 month")).'

Is the solution for anyone who may come across the same issue.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.