PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Guess this is a fairly simple question. But after going over the manual and looking at a few of the date functions I really couldn't find something that I wanted.
What I'm looking for is a way to convert a number to the alpha month and then vice-versa. (ex 1 -> January and then January -> 1).
Yeah a simple 12 key [php_man]array()[/php_man] inside a function that also as a [php_man]foreach()[/php_man] loop & [php_man]if()[/php_man] statement should do the trick.