![]() |
kujox 8/17/2006 |
function AfterSuccessfulLogin() { //** Custom code **** // put your custom code here UPDATE _Login SET Laatste_login=NOW() WHERE id='$id'; }
|
W
|
wilco muns author 8/17/2006 |
[you just missed a few bits out |
![]() |
kujox 8/17/2006 |
When trying this i get te following error: Fatal error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'muns' at line 1 in /public_html/admin/include/dbconnection.php on line 26
|
W
|
wilco muns author 8/17/2006 |
is muns the user that has just logged in? just swap the query string line for this one $strSQLupdate = "UPDATE _Login SET Laatste_login='$now_time' WHERE username='" . $_SESSION["UserID"]."'";// this is the query string
|
![]() |
kujox 8/17/2006 |
glad to help. |