Storing last user login date
Dear Jason,
I have made those changes, following your directions, to the user_LogIn.php page and I'm getting an error "Incorrect datetime value ....". In actual fact the page showing the error displays the right date and time (I had to change the low cases to capital in your code snippet "[php]<?php echo (date("Y-m-d h:m:s")); ?>[php]" to "[php]<?php echo (date("Y-M-D h:m:s")); ?>[php]".
I figure the error is due to the fact that the Update Record Code is not updating the database or maybe is not positioned properly after the login user code.
I'm designing a web site for a blind person who has a number of clients to administer and check out if they make use of the site. I know that is possible to create some Clients monitoring systems with other tables and query pages but this will complicate the Administration area. I really would like to keep it simple and record the date the Client has logged in.
I understand that this bit of coding is not supported by WA with URSP, however throughout this forum there many bits of codes suggested in other applications which goes well behind what is provided in the packages.
Can you help to find a solution to this error?
Thank you again