that is a datetimestamp. Your search is actually only searching one day. I do not think this is what he is after bud.
I will try and do a wee tutorial for you on stripping dates in the morning, but there are plenty of PHPers who do not need to go to bed just now - i.e. non British - and they might do it earlier.
SELECT * FROM events WHERE WEEK( mydate ) = WEEK( CURDATE() )
Ever look at a word for a while and think, wow, that is a weird word? Week is a weird word! =D
__________________ Please login or register to view this content. Registration is FREE - Latest Articles: Please login or register to view this content. Registration is FREE , Please login or register to view this content. Registration is FREE
that is a datetimestamp. Your search is actually only searching one day. I do not think this is what he is after bud.
I will try and do a wee tutorial for you on stripping dates in the morning, but there are plenty of PHPers who do not need to go to bed just now - i.e. non British - and they might do it earlier.
Steve.
I know that it was only a day. I was not trying to do it for him but give him a clue as to how to accomplish this so I just put whatever dates. However, as Chroder pointed out a function that even I did not know about, that appears as though it will accomplish this task much better.