Jump to content

Array Question


SkyRanger

Recommended Posts

I am trying to convert Numbers to months from mySQL.  What I current have in my db is smonth = #

 

What I am trying to figure out is if there is a way to do an array that will convert the # to a month instead of use if $smonth = 1 echo January.

 

Any help is greatly appreciated and thank you in advance.

Link to comment
https://forums.phpfreaks.com/topic/256778-array-question/
Share on other sites

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.