Hi,
I have a field in a MySQL database that h holds the now() function data. But i want to check to see if the field in the database matches today date. This dosen't happen becuase if i do....
if field = date() then..
it checks the time part too and so there for is isn't equal. What i need to do is split the date from the time and check against the date only. Anybody have any ideas ?
Cheers
Chris
I have a field in a MySQL database that h holds the now() function data. But i want to check to see if the field in the database matches today date. This dosen't happen becuase if i do....
if field = date() then..
it checks the time part too and so there for is isn't equal. What i need to do is split the date from the time and check against the date only. Anybody have any ideas ?
Cheers
Chris