Go Back   SitePoint Forums > Forum Index > Program Your Site > PHP
Newsletter FAQ Members List Calendar Mark Forums Read

New to SitePoint Forums? Register here for free!

SitePoint Sponsor
 
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old Jan 15, 2002, 16:43   #1
Caesar
SitePoint Guru
 
Caesar's Avatar
 
Join Date: May 2000
Location: On some harddisk
Posts: 661
Wink Timestamp(14) Question

Hi guys,

Let's say that I have a table with the following fields:

Fields: a (doesn't matter what kind of data type)
b (doesn't matter what kind of data type)
c timestamp(14)
d timestamp(14)

Everytime a new record is created, a and b fields are filled up together with the record created time in c.

As for d, I'll like to use a script that detects the time at which the script was run and have a timestamp(14) (in other words, "select now()+ 0" query) query run and placed into a certain unique record id (assume that a is unique).

Any ideas?
Caesar is offline  
 

Bookmarks

« Previous Thread | Next Thread »

Thread Tools
Display Modes

 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Sponsored Links
 
Forum Jump


All times are GMT -7. The time now is 04:00.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright 1998-2009, SitePoint Pty Ltd. All Rights Reserved