JD
|
Posted: 11/01/2003, 7:00 PM |
|
hello,
Can anyone tell me why this is not working. I am trying to put a last login
time on my header. When the person logins in on the login page in php here
is what have.
global $DBDO1;
$DBDO1 = new clsDBDO();
$sql1 = "update [tbl-users] set lastlogon ='" . date("F j, Y, g:i
a") . "' where username='" . CCGetSession("UserID", "") . "'";
$DBDO1->query($sql1);
unset($DBDO1);
--
|
|
|
Robert
|
Posted: 11/01/2003, 10:35 PM |
|
Hi JD!
Sorry for my English :)
I achieved the same functionality using hidden input fields, then assign them default value in the Property window (DateTime).
I think, nothing wrong with your script...
|
|
|
|