date registered CP & DB

glemor123

New member
Messages
287
Points
0
I 'am request for a query that would be inserted to my cp and database, login table. when a person registered at my cp then the database will record when that person registered. 

 
INSERT INTO login (register_date) VALUES(NOW());

Of course you need the register_date field (which is not present in base Hercules, you'd need to add it):

Code:
ALTER TABLE login ADD register_date DATETIME NOT NULL;
 
Back
Top