jaytea41 Posted February 14, 2017 Share Posted February 14, 2017 I have the basics of it down, I just don't know how to output the name of the month with the number in the array. Quote Link to comment https://forums.phpfreaks.com/topic/303193-how-can-i-display-the-name-of-the-month-that-the-user-requests/ Share on other sites More sharing options...
benanamen Posted February 14, 2017 Share Posted February 14, 2017 Is that the best you can do? What basics? What Month? What number? What Array? Quote Link to comment https://forums.phpfreaks.com/topic/303193-how-can-i-display-the-name-of-the-month-that-the-user-requests/#findComment-1542745 Share on other sites More sharing options...
jaytea41 Posted February 14, 2017 Author Share Posted February 14, 2017 This is basically what I need to do, enter a number and output the month with a button click. I have the array done. Quote Link to comment https://forums.phpfreaks.com/topic/303193-how-can-i-display-the-name-of-the-month-that-the-user-requests/#findComment-1542748 Share on other sites More sharing options...
taquitosensei Posted February 14, 2017 Share Posted February 14, 2017 What do you have so far? Kind of hard to help when we have no idea what you've already done. Quote Link to comment https://forums.phpfreaks.com/topic/303193-how-can-i-display-the-name-of-the-month-that-the-user-requests/#findComment-1542749 Share on other sites More sharing options...
ginerjm Posted February 14, 2017 Share Posted February 14, 2017 Read up on the date functions. There's tons of them in php. http://www.php.net/manual/en/funcref.php Quote Link to comment https://forums.phpfreaks.com/topic/303193-how-can-i-display-the-name-of-the-month-that-the-user-requests/#findComment-1542751 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.