Jump to content

Time and SQL


carleihar

Recommended Posts

How would I display "days registered" on a page from an SQL database? Say if someone was entered into a database on Monday, on Thursday how would I show that they've been registered for 3 days? I have a column that shows the day they were created using NOW(). Also, would I be able to have a column in the database for days registered so its easier to access? It would need to automatically update. Thanks!

Link to comment
https://forums.phpfreaks.com/topic/181655-time-and-sql/
Share on other sites

Archived

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

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.