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!
It might be nothing with the query, it might be your data type in your SQL table. If you don't have it as a datetime field or if it isn't a int/char of 14 in length... you'll have problems.