Jump to content

time


astralaaron

Recommended Posts

Keep track on the time of modification (as a DATETIME field in the tables in question), and make a query that selects entries on that date range. You can get the number of entries fetched from PHP itself. If you aren't going to use the data itself, but just want the number, then I think there may be a function in SQL that would return only that in a single column. I don't know which one exactly though. Try to search in the MySQL (or whatever) documentation for this.

Link to comment
Share on other sites

Keep track on the time of modification (as a DATETIME field in the tables in question), and make a query that selects entries on that date range. You can get the number of entries fetched from PHP itself. If you aren't going to use the data itself, but just want the number, then I think there may be a function in SQL that would return only that in a single column. I don't know which one exactly though. Try to search in the MySQL (or whatever) documentation for this.
there are so many ways to store the date/time thats the thing that is confusing me.. should I use a time stamp? or MySQL's now() ??
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...