I love that you were able to create a solution to your problem, that's so awesome and really what programming is all about!
I just also want to share with you that instead of doing format( 'F' ); you could instead use format( 'M' ); and it will automatically return you the first three letters of the month. You can learn more about all of the PHP date functions here if you have not seen this: php.net/manual/en/function.date.php
Again, I share this to help and not to take away from anything you worked so hard on. Keep doing amazing things!
Wow thank you so much! I'm new to PHP so now I know for the future. I love that there are alternative ways of solving the problem. It was fun to figure it out!
That's my favorite thing about programming...you can sit 5 people down to solve the same problem and at the end have 5 totally different answers. It's like the most amazing evolving puzzle ever lol.
Cheers!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I love that you were able to create a solution to your problem, that's so awesome and really what programming is all about!
I just also want to share with you that instead of doing
format( 'F' );
you could instead useformat( 'M' );
and it will automatically return you the first three letters of the month. You can learn more about all of the PHP date functions here if you have not seen this: php.net/manual/en/function.date.phpAgain, I share this to help and not to take away from anything you worked so hard on. Keep doing amazing things!
Cheers
Wow thank you so much! I'm new to PHP so now I know for the future. I love that there are alternative ways of solving the problem. It was fun to figure it out!
That's my favorite thing about programming...you can sit 5 people down to solve the same problem and at the end have 5 totally different answers. It's like the most amazing evolving puzzle ever lol.
Cheers!