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!
I have looked at a code snippet that was posted on the code snippet section of this forum and I tried to adapt it so that it would be MM-DD instead of YYYY-MM-DD but it has not been successful.
And it doesn't have extra spaces or newlines attached to it? Put some characters around it (like "<" ">"), then pull up the HTML source of the page and make sure you see
And what about the code that returns the result? (Is it a function?) Have you checked that? How about posting the complete code and a more detailed explanation about what you're doing?