Help! - TIMESTAMP

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!

Moderator: General Moderators

Post Reply
User avatar
mhouldridge
Forum Contributor
Posts: 267
Joined: Wed Jan 26, 2005 5:13 am

Help! - TIMESTAMP

Post by mhouldridge »

Hi,

I would like to add a bit of code to each of my pages which updates my timestamp field within my database table.

I do not know how to add this....
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

Code: Select all

UPDATE `table` SET `timestamp` = NOW()
Post Reply