Jump to content

Placing last 4 month names into a variable


leachus2002

Recommended Posts

Hi There,

 

I would like to place the last for month names into an variable- for example:

 

February 2011

January 2011

December 2010

November 2010

 

But I would like them to all have the same variable ($date) - so when I use it in a mssql_fetch_assoc - it increments with every instance of $date, as there will be one instance of $date for every row returned, getting older with every row.

 

Hope that is enough info?

 

Cheers

Matt

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.